1 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
3 *registryd/deviceeventcontroller.c: Add an idle handler which polls
4 the keyboard on a timeout intil the key state goes from pressed to
5 released. Fixes bug #111429.
7 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
9 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
10 root object so that it is present when a context menu in an
11 out-of-process applet is popped up.
12 (spi_atk_bridge_do_registration): Create acceessible application root
13 object only if it does not exist.
15 This fixes bug #125834.
17 2003-12-01 Bill Haneman <billh@gnome.org>
19 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
22 Added enum for AccessibleStreamableContentSeekType.
23 (AccessibleStreamableContent_freeContentTypeList): New.
25 * cspi/spi_streamablecontent.c:
26 (accessible_bonobo_stream_client_seek): New private method.
27 (AccessibleStreamableContent_seek): Implemented this method,
28 using Bonobo_Stream_seek.
29 (AccessibleStreamableContent_freeContentTypeList): New method
30 for freeing the return value from
31 AccessibleStreamableContent_getContentTypes.
32 (stream_cache_item_free): Replaces stream_release; stop leaks.
33 (stream_release): removed.
34 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
35 free the memory properly.
37 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
41 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
43 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
45 * docs/referecce/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
47 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
49 2003-12-01 Bill Haneman <billh@gnome.org>
51 Fix for bug/rfe #127463.
53 * idl/Accessibility_Accessible.idl:
54 (getLocalizedRoleName): New.
55 (unimplemented4): Removed (replaced by above).
57 * libspi/accessible.c:
58 (impl_accessibility_accessible_get_local_role_name): New.
59 (spi_accessible_class_init): Add getLocalizedRoleName entry to
63 (Accessible_getLocalizedRoleName): New.
65 * cspi/spi_accessible.c:
66 (Accessible_getLocalizedRoleName): New.
68 2003-12-01 Bill Haneman <billh@gnome.org>
71 * idl/Accessibility_Text.idl:
72 (getDefaultAttributes): New.
73 (unimplemented4): Removed (replaced by above method).
76 (impl_getDefaultAttributes): New method.
77 (spi_text_class_init):
78 initialize the get_default_attributes slot in the epv.
81 (AccessibleText_getDefaultAttributes): New prototype.
84 (AccessibleText_getDefaultAttributes): New method.
86 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
88 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
89 write beyond the end of the table. Fixes bug #120473.
91 2003-09-30 Christian Rose <menthos@menthos.com>
93 * configure.in: Added "eu" to ALL_LINGUAS.
95 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
97 * configure.in: ALL_LINGUAS: Added no.
99 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
101 * configure.in: Added lt to ALL_LINGUAS.
103 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
105 * atk-bridge/bridge.c:
106 (atk_bridge_init): Register event listeners always even for
107 out-of-process applet.
108 (spi_atk_bridge_toplevel_added): Remove call to
109 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
110 (spi_atk_bridge_toplevelk_removed): Remove call to
111 spi_atk_deregister_event_listenersa as the listeners are now always
113 (spi_atk_bridge_register_application): Remove call to
114 spi_atk_register_event_listeners as it is not done in atk_bridge_init
116 This fixes bug #120991.
118 * libspi/table.c (impl_getColumnDescription): Correct typo,
119 pointed out by Bolian.Yin@sun.com.
121 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
123 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
125 2003-09-08 Bill Haneman <billh@gnome.org>
127 * configure.in: Revved to 1.3.7.
129 This is the GNOME 2.4.0 release of at-spi.
131 * docs/reference/cspi/Makefile.am:
132 Removed spurious inclusion of 'index.sgml' in the
133 html directory; this was breaking make distcheck and
134 also some other build environments.
136 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
138 * registryd/registry.[ch}:
139 Add queue_handler_id and focus_object to SpiRegistry data structure.
140 (registry_flush_event_queue): If event being discarded is
141 "state-change:focused" store object as focus_object.
142 (registry_start_queue): Remove queue handler and focus object
144 (registry_discard_event): New function which discards a focus event
145 if we had stored focus object in the registry.
146 (registry_queue_event): Add new check that is_queueing is set as this
147 function is reentrant.
148 (registry_filer_event): Add call to registry_discard_event.
150 This resolves issues raised in bug #108664.
152 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
154 * configure.in: Added "bn" to ALL_LINGUAS.
156 2003-09-04 Bill Haneman <billh@gnome.org>
158 * cspi/spi_event.c: Documentation improvements for
159 (SPI_registerAccessibleKeylistener).
161 * docs/reference/tmpl/spi_registry.sgml:
162 Documentation improvements for SpiAccessibleKeylistenerCB.
164 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
166 * configure.in: Added "ro" to ALL_LINGUAS.
169 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
171 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
172 not decremented to zero. Fixes bug #120725.
174 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
176 * configure.in: Added "ja" to ALL_LINGUAS.
178 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
180 * configure.in: Added "is" to ALL_LINGUAS.
182 2003-08-22 Christian Rose <menthos@menthos.com>
184 * configure.in: Added "nl" to ALL_LINGUAS.
186 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
188 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
189 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
191 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
193 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
194 type for unspecified exception.
195 * cspi_streamablecontect): Add include of string.h for memcpy.
196 (stream_release): Correct call to bonobo_object_release_unref
197 (stream_cache_item_free): Correct call to bonobo_object_release_unref
198 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
199 argument of _cspi_expection_throw.
200 * libspi/hyperlink.c: Add include of libspi/action.h:
201 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
202 * libspi/streamablecontent.c: add include of libspi/component.h.
203 * regisrtyd/deviceeventcontroller.c:
204 (spi_dec_translate_mask): Removed unused variable priv.
205 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
206 * registryd/registry.c:
207 (registry_filter_event): Remove unused variable queue_is-empty.
208 (impl_registry_notify_event): Use correct modifier in fprintf call.
210 This fixes compiler warnings reported in bug #120220.
212 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
214 * registryd/registryd.c: Remove this file.
216 2003-08-17 Sanlig Badral <badral@openmn.org>
218 * configure.in: Added mn to ALL_LINGUAS.
220 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
222 * configure.in: Added et to ALL_LINGUAS.
224 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
226 * test/event-listener-test.c: Change active-descendant to
227 active-descendant-changed.
229 2003-08-10 Sami Pesonen <sampeson@iki.fi>
231 * configure.in: Added "fi" in ALL_LINGUAS.
233 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
235 * configure.in: Added "hi" in ALL_LINGUAS.
237 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
239 * configure.in: Revved to 1.3.6.
243 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
245 * registryd/deviceeventcontroller.c
246 (spi_device_event_controller_object_finalize): Fix typo in previous
249 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
251 * registryd/deviceeventcontroller.c
252 (spi_device_event_controller_object_finalize): Fix build on
253 systems without XEvIE.
255 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
257 * acconfig.h, configure.in, registryd/Makefile.am,
258 registryd/devicecontoller.[ch]: Add XEViE support.
260 2003-08-06 Wang Jian <lark@linux.net.cn>
262 * configure.in: Added "zh_CN" to ALL_LINGUAS.
264 2003-08-06 Metin Amiroff<metin@karegen.com>
266 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
268 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
270 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
271 MODIFIER_ALT in correct place.
273 This fixes part of bug #118114.
275 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
277 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
279 2003-07-28 Changwoo Ryu <cwryu@debian.org>
281 * configure.in: Added "ko" to ALL_LINGUAS.
283 2003-07-28 Ole Laursen <olau@hardworking.dk>
285 * configure.in: Added "da" to the commented out ALL_LINGUAS.
287 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
289 * configure.in: Added "sq" to ALL_LINGUAS.
291 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
293 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
295 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
297 * configure.in: updated ALL_LINGUAS list
299 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
301 * configure.in: Added Belarusian to ALL_LINGUAS.
303 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
305 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
307 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
308 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
310 This fixes bug #116949.
312 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
314 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
315 Correct CSPI to SPI in function documentation.
317 This fixes bug #118054.
319 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
321 * configure.in: Added Russian to ALL_LINGUAS.
323 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
325 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
327 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
329 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
331 2003-07-10 Joel Brich <joel.brich@laposte.net>
333 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
335 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
337 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
339 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
341 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
342 resources allocated for AccessibleEvent. See cspi_event().
344 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
345 static variable streams to NULL.
347 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
348 Update so that AcessibleEvent_ref will work.
350 This fixes bug #116624.
352 2003-07-06 Jordi Mallach <jordi@sindominio.net>
354 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
356 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
358 * configure.in: Added "fr" (French) to ALL_LINGUAS.
360 2003-07-02 Christian Neumair <chris@gnome-de.org>
362 * configure.in: Added "de" (German) to ALL_LINGUAS.
364 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
366 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
368 2003-07-01 Miloslav Trmac <mitr@volny.cz>
370 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
372 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
374 * configure.in: Added "pl" to ALL_LINGUAS.
376 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
378 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
380 2003-06-30 Bill Haneman <bill.haneman@sun.com>
383 (get_action_from_servant):
384 Removed assertion that action is implemented on an AtkObject.
386 * libspi/hyperlink.c:
388 Aggregate AccessibleAction interface on the hyperlink object if
389 the object implements AtkAction. (This convention is used in
392 2003-06-30 Bill Haneman <bill.haneman@sun.com>
394 * configure.in: Revved to 1.3.5.
396 * registryd/Accessibility_Registry.server.in.in:
397 Marked up appropriate strings for translation.
399 * atk-bridge/bridge.c: Marked a couple of
400 user-visible warnings for translation. Questionable
401 whether they are really useful, but possibly so.
404 2003-06-28 Christian Rose <menthos@menthos.com>
406 * configure.in: Added "sv" to ALL_LINGUAS.
408 2003-06-26 Bill Haneman <bill.haneman@sun.com>
410 * registryd/registry.c:
411 (spi_registry_object_finalize): Unref the deviceeventcontroller.
412 (registry_defer_on_event): Defer focus: events, this is an
413 improvement to the patch for bug #108664.
415 * TODO: Update with 2.4/"Dev Complete" items.
417 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
419 * atk-bridge/bridge.c:
420 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
421 looks up signals once.
422 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
423 if doing registration.
424 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
425 when doing registration.
427 This fixes bug #115014.
429 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
431 * atk-bridge/bridge.c:
432 (atk_bridge_init): Add signal handler for children-changed:remove on
433 root when in a BonoboComponent.
434 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
435 for first toplevel only other incrememt variable toplevels.
436 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
437 application and remove listeners.
438 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
440 (spi_atk_deregister_event_listeners): New function which removes
442 (reinit_register_vars): New fuction which reinitializes variables.
444 This fixes bug #111578.
446 2003-06-13 Bill Haneman <bill.haneman@sun.com>
448 * configure.in: version 1.3.4.
450 * cspi/spi_accessible.c:
451 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
454 2003-06-13 Michael Meeks <michael@ximian.com>
456 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
458 * cspi/spi_main.c (cspi_peek_ev): impl.
460 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
462 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
464 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
466 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
467 SPI_ROLE_AUTOCOMPLETE
469 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
471 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
472 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
474 2003-06-11 Bill Haneman <bill.haneman@sun.com>
476 * libspi/streamablecontent.h:
477 * libspi/streamablecontent.c:
478 New files, provide implementation/wrappers for
479 Accessibility_StreamableContent.
481 * cspi/spi_streamablecontent.c:
482 Connected the C wrappers to the libspi C bindings.
483 (AccessibleStreamableContent_close): New method.
486 (AccessibleStreamableContent_close): New method, needed
487 since we have an "open, [seek], read, close" model in cspi.
489 2003-06-11 Bill Haneman <bill.haneman@sun.com>
491 Fix for #108664; Padraig's revision of my original patch.
493 * registryd/registry.h:
494 Added event queue list, is_queuing, and exit_notify_timeout
495 to the registry struct.
497 * registryd/registry.c:
498 (registry_init): Initialize new struct from registry.h.
499 (impl_registry_notify_event):
500 Filter events before notifying, in case some need to be
502 (registry_filter_event): New,
503 we defer certain incoming events (for instance
504 window:deactivate) because we may wish to hide
505 or reject them based on pending events. This is
506 mostly a workaround for bug #108664.
507 (registry_queue_event, registry_start_queue): New.
508 (registry_defer_on_event): Test event to see if it
510 (registry_reset_on_event): Returns TRUE if the
511 event should cause a queue reset.
512 (registry_discard_on_event): Returns TRUE if the event
513 should cause the previous queue contents to be discarded.
514 (registry_timeout_flush_queue): Flushes the pending event
515 queue if no reset/discard-triggering events have come in
516 within the timeout period.
517 (registry_emit_event): New.
518 (registry_clone_notify_context): New, used when queueing the
519 event notify contexts.
521 2003-06-10 Bill Haneman <bill.haneman@sun.com>
523 * configure.in: Version revved to 1.3.2, lt 0.9.2
524 Incremented ATK required version to 1.3.4.
526 * cspi/spi_registry.c:
527 (SPI_generateKeyEvent):
528 We now pass the keystring along if it's non-null.
530 * registryd/deviceeventcontroller.c:
531 (keysym_mod_mask): New method, returns modifier mask
532 required to generate a keysym from a given keycode.
533 (dec_synth_keysym): New method.
534 (dec_synth_keystring): New method.
535 (dec_get_modifier_state): New method.
536 (dec_lock_modifiers): New
537 (dec_unlock_modifiers): New.
538 (dec_keysym_for_unichar): New, rather brute-force
539 conversion from UCS-4 to X KeySyms. Only works for
540 Latin at the moment, with partial implementations for
541 Greek, Hebrew, and (incomplete) Katakana.
542 (impl_generate_keyboard_event): Now implement
543 "KEYSTRING" synthesis and implement "KEYSYM"
545 (keycode_from_keysym): Improved, passes a returned
546 modmask value now if the corresponding param is non-NULL.
548 Fixes bugs #92143 and #109776.
551 * test/keysynth-test.c:
552 New test program for key synthesis, to confirm fixes for
556 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
558 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
560 * cspi/spi_accessible.c (cspi_init_relation_type_table):
561 Add line for RELATION_POPUP_FOR
563 * docs/reference/cspi/tmpl/spi_relation.sgml:
564 Add relation SPI_RELATION_POPUP_FOR
566 * docs/reference/cspi/tmpl/spi_stateset.sgml:
567 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
569 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
571 * libspi/relation.c (spi_init_relation_type_table):
572 Add line for RELATION_POPUP_FOR
574 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
576 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
577 there are still windows which have not been deleted and emit
578 window:deactivate, if necessary and window:destroy events.
579 This fixes bug #114370. The change on June 5th was not correct.
581 2003-06-09 Bill Haneman <bill.haneman@sun.com>
583 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
586 (SPI_dupString): Allow dup-ing of a string such that it's safe to
588 New methods for client exception handling and interception.
589 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
590 (SPI_exceptionHandlerPop): You guessed it...
591 (SPI_getSourceType): Return the type of object which offended.
592 (SPI_getExceptionCode): Return an enum code telling, possibly,
593 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
594 (SPIAccessibleException_getSource): get the source object for
595 exceptions that come from Accessibles, if SPIExceptionSourceType is
596 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
597 (SPIException_getDescription): New, returns a string description of
598 the problem. [Not yet a stable ABI, strings are not frozen]
600 * cspi/spi-private.h:
601 Added implementation details of opaque SPIException
605 Implementations of above. Also
606 (_cspi_exception_throw): new private method that
607 dispatches exceptions to handlers, called from cspi-bonobo.c
609 * cspi/bonobo/cspi-bonobo.c:
610 (cspi_check_ev): call _cspi_exception_throw.
611 Don't print a warning message if the exception has been
612 handled by _cspi_exception_throw.
614 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
616 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
617 there are still windows which have not been deleted and emit
618 window:deactivate, if necessary and window:destroy events.
619 This fixes bug #114370.
621 2003-06-03 Bill Haneman <bill.haneman@sun.com>
624 (cspi_accessible_is_a): Make non-fatal
625 if the object reference is dead.
627 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
629 * cspi/spi_main.c: #include <stdio.h>
630 * test/simple-at.c: ditto
631 * test/event-listener-test.c: ditto
632 * test/screen-review-test.c: ditto
634 2003-05-30 Michael Meeks <michael@ximian.com>
636 * test/test-simple.c (main): use CORBA_ORB_perform_work
637 instead of an unnecessary linc_ call.
639 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
641 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
642 Add SPI_STATE_INDETERMINATE.
644 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
647 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
649 * libspi/stateset.c (init_state_type_tables): Add support for
652 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
654 * configure: Update versions of atk and gail required.
655 This fixes bug #113268.
657 2003-05-02 Bill Haneman <bill.haneman@sun.com>
659 * configure.in: Revved micro version to 1.3.1 (because of build fix).
661 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
663 * libspi/Makefile.am:
664 Ensure headers are generated before being used by c sources.
666 2003-05-01 Bill Haneman <bill.haneman@sun.com>
669 Simplified lt versioning rules.
670 Incremented version to 1.3.0, to indicate that we're on the
673 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
675 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
676 Add MKDB_OPTIONS=--outtput-format=xml
678 * docs/reference/cspi/at-spi-cspi-docs.sgml
679 docs/reference/idl/at-spi-idl-docs.sgml:
680 Convert to Docbook XML.
682 This fixes bug #111793.
684 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
686 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
687 AcccessibleKeyEventType, AccessibleKeyMaskType.
689 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
691 * cspi/state-types.h: Add documentation for AccessibleState.
693 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
694 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
695 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
696 AccessibleComponentLayer.
698 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
701 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
703 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
704 Accessible. Add description of AccessibleEvent,
705 AccessibleEventListenerCB.
707 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
710 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
711 documentation. Add description of AccessibleKeystrokeListenerCB,
712 AccessibleKeyEventMask, AccessibleModifierMaskType,
713 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
714 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
716 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
719 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
722 This fixes bug #104730.
724 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
726 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
727 Set is_text field of Accessibility_DeviceEvent data structure.
729 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
730 is-text field of AccessibleDeviceEvent data structure.
732 This addresses part of bug #108666.
734 * registryd/devcieeventcontroller.c: Unset debug option.
736 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
739 (cpi_initial_relation_type_table): New function which initializes
740 mapping between Accessibility_RelationType and AccessibleRelationType.
741 (cspi_relation_type_from_spi_relation_type): New function which
742 translates an Accessibility_RelationType into an AccessibleRelationType.
743 (AccessibleRelation_getRelationType): Use
744 cpi_relation_type_get_spi_relation_type to return correct value.
745 (spi_state_to_corba): Return correct type for default case.
747 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
748 Use Accessibility_EventType instead of Accessibility_KeyEventType.
750 * cspi/cspi-bonobo-listener.c:
751 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
754 * libspi/accessible.c, libspi/action.c, libspi/application.c,
755 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
756 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
757 libspi/image.c, libspi/listener.c, libspi/selection.c,
758 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
759 registryd/desktop.c, registryd/registry.c:
760 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
762 * libspi/eventlistener.c
763 Remove semicolon after BONOBO_TYPE_FUNC.
766 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
767 (spi_init_relation_type_table): Initialize using correct type.
769 * registryd/desktop.c:
770 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
771 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
772 of Accessibility_KeyEventType.
774 * test/key-listener-test.c (report_tab_key_event): Use fprintf
777 * tests/simple-at.c, tests/screen-review-test.c:
778 Add include for <strings.h>.
780 * tests.stress-test.c:
781 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
783 These changes fix compiler warnings when using FORTE compiler on
784 Solaris; fixes bug #107479.
787 2003-04-10 Bill Haneman <bill.haneman@sun.com>
790 * configure.in: revved to 1.1.10
793 (SPI_KEYMASK_NUMLOCK): Added.
795 * registryd/deviceeventcontroller.c:
796 (spi_key_event_matches_listener): AND with a smaller
797 bitmask (as we should).
798 (spi_dec_translate_mask):
799 New method, sets the virtual NumLock modifier bit
800 if numlock is on. Eventually it can handle other virtual
801 modifier bits if needed, or other marshalling from
802 at-spi modifier masks to platform (X) masks.
803 (spi_dec_key_listener_new):
804 Call spi_dec_translate_mask to set up virtual mod bits
805 in the 'mask' field when creating a new listener struct.
806 (spi_dec_emit_modifier_event):
807 Set the virtual (i.e. NumLock) bits before emitting event.
808 (spi_controller_register_with_devices):
809 Query for the NumLock modifier 'physical' bit if Xkb is
810 present, for use in above methods.
814 2003-04-10 Bill Haneman <bill.haneman@sun.com>
816 * registryd/deviceeventcontroller.c:
817 (spi_keystroke_from_x_key_event):
818 Instead of checking to see if the keysym is
819 printable, check the string from XLookupString
820 if available, get the first unicode character from it,
821 and call g_unichar_isprint to determine whether the
822 is_text flag should be TRUE or FALSE.
826 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
828 * atk-bridge/bridge.c: Add support for extended events
829 * cspi/spi_event.c: Add documentation and implementation for
831 * tests/event-listener-test.c: Add tests for extended events.
833 This fixes bugs #100424 and #100426.
835 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
837 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
838 of LT_CURRENT. This fixes bug #89350.
840 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
842 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
843 number of signal parameter values before accessing them. This fixes
846 2003-04-01 Bill Haneman <bill.haneman@sun.com>
848 * configure.in: Fixed duplicate inclusion of -lspi.
849 * branched for gnome-2-2/HEAD.
850 [created tag "gnome-2-2"]
852 2003-03-07 Bill Haneman <bill.haneman@sun.com>
854 * configure.in: 1.1.9 release.
857 2003-03-07 Bill Haneman <bill.haneman@sun.com>
859 [needed by GOK, to fix bugs 107985 and 107988]
860 * registryd/deviceeventcontroller.c:
861 (spi_dec_clear_unlatch_pending):
862 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
863 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
864 (spi_dec_init_mouse_listener):Emit warning if mouse button
866 (spi_device_event_controller_forward_mouse_event):
867 Removed unnecessary parens from a conditional.
868 (global_filter_fn):Added TODO comment.
869 (impl_generate_keyboard_event):
870 Cancel a pending relatch if a 'delatching' key was
873 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
875 * atk-bridge/bridge.c:
876 Change atk_signal_child_changed to atk_signal_children_changed.
877 Reorganize code in spi_atk_bridge_signal_listener().
879 * test/event-listener-test.c:
880 Add children_changed_listener and report_children_changed_event()
881 to test AccessibleChildEvent_getChildAccessible.
883 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
885 * cspi/spi_event.c (cspi_internal_event_get_text): Change
886 g_strdup to CORBA_String_dup (bug #105291)
888 * test/event-listener-test.c (report_text_event): Add call to
891 2003-02-28 Bill Haneman <bill.haneman@sun.com>
893 * registryd/deviceeventcontroller.c:
894 (spi_keystroke_from_x_key_event):
895 Fix string and keysym return codes to match modifier state.
898 2003-02-28 Bill Haneman <bill.haneman@sun.com>
900 * registryd/deviceeventcontroller.c:
901 (spi_keystroke_from_x_key_event):
902 Fix segv due to improper use of isprint(c). [bug #107254]
904 2003-02-24 Bill Haneman <bill.haneman@sun.com>
907 (get_accessible_text_boundary_type):
908 Move default return value to (new) default case in switch.
909 (get_accessible_text_clip_type):
910 Move default return value to (new) default case in switch.
912 * libspi/application.c:
913 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
914 Remove unused methods.
915 (impl_accessibility_application_register_object_event_listener):
916 Remove unused methods.
919 Added #include of <math.h>.
921 * registryd/deviceeventcontroller.c:
922 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
923 we don't currently use this method.
924 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
926 (impl_generate_key_event):
927 Remove unused variables.
928 (impl_generate_mouse_event):
929 Initialize button to zero, just in case we get an invalid
930 input. Added support for mouse buttons 4 and 5.
931 (spi_device_event_controller_new):
932 Removed unused variable declaration for 'private'.
934 Added #include of <gdk/gdk.h>
936 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
938 * configure.in: Update to work when X is not installed in expected
939 location. Fixes bug #105836.
941 * atk-bridge/bridge.c
942 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
944 (spi_atk_register_event_listener): Add signal listener for
946 (spi_atk_bridge_signal_listener): Event event when link-selected
947 signal is emitted. (bug #104622)
949 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
950 on returned string. (bug #105291)
952 * test/event-listener-test.c: Add test for link-selected.
954 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
956 * atk-bridge/Makefile.am: Correct typo in previous commit.
958 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
960 * atk-bridge/Makefile.am: Allow for build directory to be different
961 from source directory
963 * registryd/Makefile.am: Allow for build directory to be different
964 from source directory
968 2003-01-29 Bill Haneman <bill.haneman@sun.com>
971 Fixed dependencies for libcspi so that libspi gets pulled in
972 properly. Fixes 104741.
976 Clean up inline docs a little.
978 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
980 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
981 This is done by implementing AtkComponent for SpiAtkDesktop, which is
982 the AtkObject within an SpiDesktop.
983 This addresses bug #101524.
985 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
986 Remove call to gdk_init().
988 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
989 so that Display is set when SpiDesktop is created.
991 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
993 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
994 This fixes bug #102830.
996 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
998 * test/test-simple.c: Update to take account of fact that GailButton
999 now implements AtkText.
1000 (create_text_window): Set name on AtkObject for GtkEntry.
1001 (validate_accessible): Check accessible name before calling test_text().
1003 * libspi/Makefile.am: Fix problem with building outside of source
1004 directory. Bug #98120.
1006 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1007 typo in documentation comments. Bug #94275.
1009 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1011 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1013 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1016 Add includes to avoid compiler warnings on Solaris.
1017 (impl_getRangeExtents): Bug fix.
1019 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1021 Fix for 100944, [API addition approved by Gman and murrayc].
1028 * idl/Accessibility_Text.idl:
1029 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1030 (Text::getRangeExtents): New method for efficient
1031 bounds query of a text range.
1032 (Text::getBoundedRanges): New method for efficient
1033 clipping of text to bounding boxes.
1034 (unImplemented7, unImplemented8):
1035 Removed these padding methods to preserve bincompat.
1038 (impl_getRangeExtents): implementation of new IDL.
1039 (impl_getBoundedRanges): implementation of new IDL.
1040 (SpiTextRect): Internal use struct.
1041 (_spi_text_rect_union): internal method, calculates union of two
1042 SpiTextRect bounding rects.
1043 (_spi_text_range_seq_from_gslist): internal method, allows us
1044 to build our sequence efficiently as a gslist then convert it
1046 (_spi_bounds_contain): internal method, determines whether
1047 a text character is "in" or "out" of a clip rect according to
1048 values of TEXT_CLIP_TYPE.
1049 (spi_text_class_init): Initialize the new methods in the epv.
1052 (AccessibleTextClipType): New enum used by screen review api.
1053 (AccessibleTextRange): New struct used by screen review api.
1054 (AccessibleText_getRangeExtents):
1055 cspi binding for Accessibility_Text_getRangeExtents.
1056 (AccessibleText_getBoundedRanges):
1057 cspi binding for Accessibility_Text_getBoundedRanges.
1058 (AccessibleTextRange_freeRanges): convenience method.
1061 (AccessibleText_getRangeExtents):
1062 cspi binding for Accessibility_Text_getRangeExtents.
1063 (AccessibleText_getBoundedRanges):
1064 cspi binding for Accessibility_Text_getBoundedRanges.
1065 (AccessibleTextRange_freeRanges): convenience method.
1066 (get_accessible_text_clip_type): internal conversion method.
1067 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1069 * registryd/deviceeventcontroller.c:
1070 (spi_dec_mouse_check):
1071 Improved behavior for mouse:abs events
1072 [same granularity as mouse:rel events, and no
1073 events when mouse is idle].
1075 2002-12-16 Michael Meeks <michael@ximian.com>
1077 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1079 * libspi/stateset.c (state_spi_to_atk): split out
1080 ( fix several remote array bounds nasties )
1081 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1082 (impl_remove): make safe from array bounds issues.
1083 (spi_atk_state_from_spi_state): impl.
1085 * libspi/stateset.h (spi_state_set_cache_is_empty):
1086 add a set of wrapper defines to get layering right.
1088 * cspi/spi_accessible.c: update state set stuff to
1091 2002-12-14 Michael Meeks <michael@ximian.com>
1093 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1094 to avoid 2 roundtrips to the registry per key event
1095 (spi_atk_bridge_key_listener): upd.
1096 (deregister_application): release the dec.
1098 * registryd/registry.c (notify_listeners_cb):
1099 bin lots of re-enterant complexity - we no longer
1100 do a round-trip bonobo ref here, ensure that a single
1101 listener's exception failure won't poison all other
1103 (impl_registry_notify_event): bin obvious memory leak.
1105 2002-12-13 Michael Meeks <michael@ximian.com>
1107 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1108 init the ev so the error is meaningful.
1109 (spi_atk_bridge_key_listener): ditto.
1111 * cspi/spi_main.c (cspi_ev): init the ev so we start
1112 with a clean slate, otherwise the first exception
1113 kills us completely.
1115 * cspi/spi_text.c (get_accessible_text_boundary_type):
1116 add a fallthrough for no warnings.
1118 * cspi/spi_registry.c: prune unused warnings.
1120 * cspi/spi_main.c (cspi_object_take): fix
1121 mind-blowing brokenness ( by watching the compile
1124 * cspi/spi_accessible.c (Accessible_getStateSet):
1125 re-impl. to use an AtkStateSet.
1126 (spi_state_type_from_accessible_state),
1127 (init_state_table): bin these.
1129 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1131 (atk_state_set_from_accessibility_state_set): here.
1133 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1134 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1135 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1136 (AccessibleStateSet_add, AccessibleStateSet_remove),
1137 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1138 (AccessibleStateSet_isEmpty): re-write to use a local
1141 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1143 * configure.in: Revved to 1.1.7 (new keymask vals).
1145 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1147 * libspi/keymasks.h:
1148 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1150 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1153 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1154 to compare two CORBA_TypeCodes.
1155 (cspi_internal_event_add): Silence warning from FORTE compiler.
1157 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1158 avoid implicit declaration of functions.
1160 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1162 * atk-bridge/bridge.c:
1163 (spi_atk_bridge_init_event_type_consts): Store signal id for
1164 active-descendant-changed signal.
1165 (spi_atk_register_event_listeners): Add signal listener for
1166 active-descendant-changed signal,
1167 (spi_atk_bridge_signal_listener): Move code in function
1168 spi_atk-signal_emit_event() into this function.
1169 Add support for active-descendant-changed
1170 Update support for child-changed signal.
1171 (spi_bridge_window_event_listener): Silence warning.
1173 * libspi/spi_private.[ch]:
1174 (spi_init_any_object): Change second parameter from CORBA_Object to
1176 Omit call to CORBA_Object_duplicate().
1177 Set CORBA_any's _value to CORBA_Object*.
1179 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1185 (AccessibleEvent_ref, AccessibleEvent_unref):
1186 New methods, for persisting an event outside the emission context.
1187 Must be used if the new accessor methods are to be called
1188 outside of the event listener's callback.
1190 * cspi/bonobo/cspi-bonobo.c:
1191 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1192 as second parameter instead of NULL, so we can call
1193 cspi_check_ev afterwards.
1196 (cspi_object_take): New internal method,
1197 converts a CORBA_Object reference to a hard ref on
1198 an Accessible if possible, returning NULL if the object
1199 reference is invalid or an Accessible * otherwise.
1202 (AccessibleEvent_ref):
1203 Increment the event's internal private refcount, and
1204 add the event's internal struct to an internal cache
1205 if it's not already there.
1206 (AccessibleEvent_unref):
1207 Decrement the event's refcount and remove it from
1208 the cspi event cache if refcount==0.
1209 (cspi_event_compare): New private method.
1210 Compares two event structs via their ids. Used
1212 (cspi_internal_event_lookup): New private method.
1213 (cspi_internal_event_check): New private method,
1214 a 0-order sanity check for events to make sure their
1215 private data is intact.
1216 (cspi_internal_event_add, cspi_internal_event_remove):
1217 New private methods for managiing the event cache.
1219 * cspi/bonobo/cspi-bonobo-listener.c:
1221 Initialize the new private data elements (id, magic, ref_count).
1223 * atk-bridge/bridge.c:
1224 (spi_atk_bridge_signal_listener):
1225 Fixed bug #100530, passing wrong params to emission func.
1227 * registryd/deviceeventcontroller.c:
1228 (spi_dec_button_update_and_emit):
1229 Fixed type in mask bit operations; fix for #99799.
1231 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1233 Removed some of the more dangerous workarounds from
1234 previous commit; they are only needed by GOK, which
1235 in reality should be using another method to accomplish
1236 the goals. So on reconsideration some of the workarounds
1237 need to be reverted:
1239 * registryd/deviceeventcontroller.c:
1240 (spi_keycodes_contain, spi_dec_init_keycode_list):
1241 Removed these methods, used only by a nasty hack to try
1242 and detect whether a key synthesis should be allowed
1243 to reset the XKB latch state or not. This code was only
1244 required to work around an interaction between GOK,
1245 button events, and XKB.
1246 (impl_generate_key_event):
1247 Removed hack at end of key generation that tried to
1248 "do the right thing" if XKB latch keys were generated
1249 in the midst of button press/release pairs.
1252 Added a check for HAVE_XINPUT. Not normally used yet.
1254 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1256 Workarounds and fixes for mouse event/XKB interaction.
1258 * registryd/deviceeventcontroller.c:
1259 (spi_keycodes_contain, spi_dec_init_keycode_list):
1260 New internal methods.
1261 (spi_dec_set_unlatch_pending):
1262 Split the method that tells XKB to expect an
1263 unlatch (and revert it) out of the rest of the
1264 event handling code. This method is called by the
1265 two mouse event handlers (the poll and the filter).
1266 (spi_dec_update_and_emit, spi_dec_mouse_check):
1267 New methods split from spi_dec_poll_mouse_moved.
1268 The second one is now called from inside the filterFn
1269 when an XKB delatch event is received, to determine
1270 whether to revert the delatch or not.
1271 (spi_poll_mouse_moved): Refactor; also we can now
1272 properly handle the case where multiple button states
1273 have changed between polling cycles and we didn't get
1274 notified due to another client's grab.
1276 Synchronize the server while handling an XKB notification.
1277 Ugly, but apparently necessary to avoid nasty races.
1278 Check the mouse state on receipt of an XKB latch change,
1279 to decide whether to revert the latch or not. (Latches are
1280 reverted if there is an immediately preceding mouse button
1281 event that a client has consumed, in which case we don't want
1282 the user to see the side-effect of the event).
1283 (spi_device_event_controller_forward_mouse_event):
1284 Check for modifier events and fire before resetting mouse_mask_state,
1285 prevents losing modifier events.
1287 (impl_generate_keyboard_event):
1288 If we've just generated a keyboard event for a non-shift key,
1289 we don't want to revert the pending XKB latch.
1290 Otherwise, check the modifier state (via a call to
1291 spi_dev_mouse_check) and set the relatch mask to
1292 that state before returning.
1294 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1297 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1300 * atk-bridge/bridge.c:
1301 (spi_atk_register_event_listeners):
1302 Don't re-register for ATK events if the registry has died
1303 and the app needs to re-register; the ATK listeners are in
1304 process and doing so will cause duplicate emission.
1306 * registryd/deviceeventcontroller.c:
1307 (spi_poll_mouse_moved):
1308 Reformat the source, detect and emit multiple button-change
1309 events (i.e. if multiple buttons have changed between poll
1311 Add code to detect mouse-down events even when the pointer
1312 is grabbed; workaround for GOK bug 98420.
1313 (spi_controller_register_with_devices):
1314 Call XTestGrabControl with 'impervious' flag set to True,
1315 allows us to synthesize events and query the pointer even during
1316 an active grab by another client.
1317 (spi_device_event_controller_forward_mouse_event):
1318 Set the mouse_mask_state to the mouse_button_state from
1319 the intercepted event, to synchronize the grab listener with
1322 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1324 * cspi/spi_accessible.c:
1325 (AccessibleRole_getName):
1326 Added necessary strings for making this (deprecated)
1327 method work with the new role types.
1328 (init_role_table, role_table):
1329 Added definition of SPI_ROLE_APPLICATION.
1331 * libspi/spi-roletypes.h:
1332 Added SPI_ROLE_APPLICATION.
1334 * idl/Accessibility_Role.idl:
1335 Added ROLE_APPLICATION.
1337 * docs/reference/cspi/at-spi-cspi-decl.txt:
1338 Added SPI_ROLE_APPLICATION to docs.
1340 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1342 * cspi/spi_accessible.c
1343 (cspi_init_role_table): Do not write beyond end of role_table.
1344 (Accessible_getRole): Use correct type for value returned by
1345 Accessibility_Accessible_getRole().
1347 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1348 beyond end of role_table. (This fixes bug #98269)
1350 * libspi/application.c: Add include file spi-private.h for
1351 definition of spi_init_any_nil.
1353 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1357 * libspi/spi-private.h:
1358 Added DGB() macro, and extern int _dbg declaration.
1360 * registryd/registry.c:
1361 (definitions) storage for _dbg.
1362 (spi_registry_init):
1363 Get environment variable "AT_SPI_DEBUG".
1364 (spi_registry_set_debug):
1365 New method, to initialize _dbg value.
1366 (spi_listener_struct_new, spi_registry_object_finalize):
1367 (notify_listeners_cb):
1368 Changed fprintfs to use DBG and g_warning().
1370 * registryd/deviceeventcontroller.c:
1371 (_deregister_keygrab, spi_controller_register_device_listener):
1372 Changed debug/warning messages to use DBG macro.
1374 * libspi/listener.c:
1375 (impl_notify_event):
1376 Changed warning messages to use DBG macro and g_warning().
1378 * atk-bridge/bridge.c:
1379 (atk_bridge_init, spi_atk_bridge_get_registry):
1380 (spi_atk_bridge_exit_func):
1381 (spi_atk_bridge_property_event_listener):
1382 Changed status, warning, and error messages to use
1383 g_warning, g_message, and DBG macros.
1386 Read the state of the AT_SPI_DEBUG environment variable
1387 and set a local '_dbg' accordingly.
1389 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1391 FIXES for 98836, 98842, other bugs.
1394 Revved to 1.1.4, interface-age=4, binary-age=4.
1396 * registryd/deviceeventcontroller.c:
1398 Fixed crasher bug in last_mouse_pos initialization.
1400 * registryd/registry.c:
1401 (desktop_add_application, desktop_remove_application):
1402 Added (and then commented out) some support for
1403 object context marshalling. [TODO]
1405 * atk-bridge/bridge.c:
1406 (spi_atk_bridge_event_context_create):
1407 Commented out object context creation until it can
1408 be properly tested and debugged.
1410 * registryd/registry.c:
1411 (impl_registry_notify_event):
1412 Fixed crasher bug, we were calling
1413 spi_re_entrant_list_foreach () with an empty list.
1415 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1417 * idl/Accessibility_Action.idl:
1418 * idl/Accessibility_Component.idl:
1419 * idl/Accessibility_Desktop.idl:
1420 * idl/Accessibility_Event.idl:
1421 * idl/Accessibility_Hyperlink.idl:
1422 * idl/Accessibility_Image.idl:
1423 * idl/Accessibility_Relation.idl:
1424 * idl/Accessibility_Selection.idl:
1425 * idl/Accessibility_State.idl:
1426 * idl/Accessibility_Value.idl:
1427 Updated unimplemented slot count to minimum of
1428 four for all interfaces, for ABI freeze.
1430 * idl/Accessibility_EditableText.idl:
1431 * idl/Accessibility_Text.idl:
1432 Updated unimplemented slot count to six
1435 * idl/Accessibility_Registry.idl:
1436 Updated unimplemented slot count to six
1437 (also for DeviceEventController),
1440 * idl/Accessibility_Table.idl:
1441 Updated unimplemented slot count to eight,
1444 * idl/Accessibility_Event.idl:
1445 Added CORBA_any "any_data" member to Event struct.
1447 * idl/Accessibility_Event.idl:
1448 Added CORBA_any "any_data" member to Event struct.
1450 * atk-bridge/bridge.c:
1452 atk_signal_text_changed, atk_signal_child_changed,
1453 signal ids queried from gtype system.
1454 (AtkBridgeEventContextType): New enum.
1455 (AtkBridgeEventContextData): New struct.
1456 (AtkBridgeEventContext): New struct.
1457 (atk_bridge_init_event_type_consts):
1458 New method, initializes type contants for comparison
1459 prior to emit_eventv.
1460 (atk_bridge_event_context_init): New method,
1461 initializes a CORBA_any from an AtkBridgeEventContext.
1462 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1463 initialize the event.any_data struct.
1464 (spi_atk_bridge_event_context_create): New method,
1465 creates an AtkBridgeEventContext from signal/event info.
1466 (spi_atk_bridge_event_context_free): New method.
1467 (spi_atk_emit_eventv): Changed to take an
1468 AtkBridgeEventContext parameter. We now initialize
1469 the event.any_data member prior to notifying the
1470 Registry, via the AtkBridgeEventContext.
1471 (spi_atk_bridge_property_event_listener):
1472 (spi_atk_bridge_state_event_listener):
1473 Match emit_eventv signature.
1474 (spi_atk_bridge_object_event_listener):
1475 Match emit_eventv signature, and create an
1476 event context from the event details.
1477 Free the event context afterwards.
1478 (spi_atk_bridge_window_event_listener):
1479 Create an event context, pass it to the
1483 (AccessibleEvent_getContextString):
1484 (AccessibleEvent_getContextObject):
1485 New methods, allow query of AccessibleEvent objects
1486 for more context details (via the "any_data" member
1487 of the Event struct, above).
1490 Definitions for AccessibleEvent_getContextString
1491 and AccessibleEvent_getContextObject.
1493 * cspi/spi_listener.h:
1494 (InternalEvent): New struct.
1497 (AccessibleEvent_getContextString):
1498 (AccessibleEvent_getContextObject):
1499 Implementations of new methods, for obtaining
1500 additional context information from some event types.
1502 * cspi/spi_registry.c:
1503 (SPI_registerGlobalEventListener):
1504 Added mention of active-descendant-changed event in docs.
1506 * cspi/cspi-bonobo-listener.c:
1508 Marshal the any into the AccessibleEvent via
1511 * libspi/spi-private.h:
1512 #include <orbit/orbit.h>
1514 (spi_init_any_string):
1515 (spi_init_any_object):
1516 New convenience function declarations.
1520 (spi_init_any_string):
1521 (spi_init_any_object):
1522 New convenience function implementations.
1524 * registryd/deviceeventcontroller.c:
1525 (spi_poll_dec_mouse_moved):
1526 (spi_device_event_controller_forward_mous_event):
1527 Initialize any_data member of event.
1528 (spi_deregister_controller_device_listener):
1529 Fix incorrect param pass which was preventing deregistration.
1531 * registryd/registry.c:
1532 (desktop_add_application):
1533 (desktop_remove_application):
1534 Add object data to event's any_data before dispatch.
1536 Fix for error messages from GAIL.
1538 * test/event-listener-test.c:
1539 Test new ContextString and "any_data" API:
1540 (report_text_event): New method query and output context string.
1541 (main): register a new text listener with report_text_event
1544 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1546 Fixes for bugs 98127 and 97914.
1547 * cspi/spi-roletypes.h:
1548 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1550 * cspi/spi-statetypes.h:
1551 Added SPI_STATE_MANAGES_DESCENDANTS
1553 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1554 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1555 * cspi/spi_accessible.c:
1556 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1557 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1558 Accessibility_STATE_MANAGES_DESCENDANTS
1559 * libspi/accessible.c:
1560 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1561 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1562 As requested by Bill, I also cleaned up the alignment.
1563 * libspi/relation.c:
1564 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1565 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1566 * libspi/stateset.c:
1567 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1568 Accessibility_STATE_MANAGES_DESCENDANTS
1569 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1570 Document changes reflecting modifications to roles.
1571 * docs/reference/cspi/tmpl/spi_relation.sgml:
1572 Document changes reflecting modifications to relations.
1573 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1574 Document changes reflecting modifications to states.
1576 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1579 Revved to 1.1.3, interface-age=3, binary-age=3.
1580 Added REBUILD macro.
1583 Removed accessx-gui from the tests, since we have a nice
1584 keyboard accessibility capplet now :-)
1586 * test/keysynth-demo.c:
1587 (increment_scan): removed do-nothing default: case,
1590 * test/visual-bell.c:
1591 (main) : removed do-nothing default: case,
1594 * cspi/spi_action.c:
1595 (AccessibleAction_getKeyBinding_):
1596 Documented keybinding string format.
1600 (AccessibleText_getAttributes):
1601 Documented the text attribute string format.
1602 It's changed to use semicolon delimiters also,
1603 to prevent clashes with CSS attributes, but the old
1604 trick of looking for ", " strings will still work
1605 (as unreliably as ever). Fix for bug related to 97916.
1608 Include <cspi/bonobo/cspi-bonobo-listener.h>
1609 Fixes build warning.
1610 (SPI_freeAccessibleKeySet):
1611 (AccessibleKeystrokeListener_addCallback):
1612 (AccessibleKeystrokeListener_removeCallback):
1613 Modify to use AccessibleDeviceListener API internally,
1614 instead of AccessibleKeystrokeListener.
1616 * idl/Accessibility_Event.idl:
1617 Added two more empty slots to EventListener (for a total of four).
1619 * idl/Accessibility_Accessible.idl:
1620 Added four empty slots to Accessible interface.
1622 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1624 * idl/Accessibility_Registry.idl:
1625 (KeyEventType, EventType):
1626 Marked KeyEventType as deprecated; it duplicates
1627 functionality of EventType, which has been extended to
1628 include Mouse-button events.
1629 (KeyEventTypeSeq): defined in terms of EventType.
1630 (registerDeviceEventListener, deregisterDeviceEventListener):
1631 New methods, for managing listeners to device events,
1632 which potentially may consume them.
1635 Added definition for AccessibleDeviceListener.
1637 * cspi/spi-listener.h:
1638 (enum AccessibleDeviceEventType):
1639 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1640 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1641 for backwards compat.
1642 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1643 and typedef'd AccessibleKeystroke to it for back-compat.
1644 (AccessibleDeviceListenerCB):
1645 New function prototype typedef.
1648 (AccessibleDeviceEventMask): New typedef.
1649 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1650 (AccessibleKeyMaskType):
1651 Set equivalent to AccessibleModifierMaskType for back-compat.
1652 (SPI_createAccessibleKeystrokeListener):
1653 (AccessibleKeystrokeListener_unref):
1654 Deprecated in favor of equivalent (better-named) new API below..
1655 keystroke listeners are like all device listeners.
1656 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1657 New API names for old features :-).
1658 (AccessibleDeviceListener_addCallback):
1659 (AccessibleDeviceListener_removeCallback):
1660 (SPI_registerDeviceEventListener):
1661 (SPI_deregisterDeviceEventListener):
1665 (SPI_createAccessibleKeystrokeListener):
1666 Use new preferred API, cspi_device_listener_new() and
1667 cspi_device_listener_add_cb().
1668 (AccessibleKeystrokeListener_removeCallback):
1669 Use new preferred API, cspi_device_listener_remove_cb().
1670 (AccessibleKeystrokeListener_unref):
1671 Use new preferred API, cspi_device_listener_unref().
1672 (SPI_createAccessibleDeviceListener):
1673 (AccessibleDeviceListener_addCallback):
1674 (AccessibleDeviceListener_removeCallback):
1675 Implementation of new API.
1677 * cspi/spi_registry.c:
1678 (SPI_registerDeviceEventListener):
1679 (SPI_deregisterDeviceEventListener):
1680 Implementation of new API. Fixed memory leak and removed need to
1681 allocate EventTypeSeq (thanks Michael for catching this).
1682 Squashed a wayward CORBA_exception_free that shouldn't get called.
1684 * cspi/bonobo/cspi-bonobo-listener.c:
1686 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1687 (cspi_key_event): renamed to cspi_device_event().
1688 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1689 Extended to handle mouse button events as well as key events.
1690 (CSpiKeystrokeListener):
1691 Class superceded by CSpiDeviceListener.
1692 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1693 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1695 * cspi/bonobo/cspi-bonobo-listener.h:
1696 (CSpiKeystrokeListener):
1697 Class superceded by CSpiDeviceListener.
1698 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1699 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1701 * libspi/Makefile.am:
1702 Replaced keystrokelistener.h and keystrokelistener.c
1703 with devicelistener.h and devicelistener.c; keystrokelisener.h
1704 stub retained for back-compat.
1706 * libspi/keystrokelistener.c:
1710 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1712 * registryd/deviceeventcontroller.c:
1713 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1714 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1715 (DEControllerPrivateData): Added xkb settings data.
1716 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1717 button release events (which can't be captured via XGrabButton).
1718 Don't dispatch via the 'normal' event mechanism if the device event was
1720 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1721 Handle the typeseq data in its new location (see above).
1722 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1723 New methods, for "generic" device listeners.
1724 (spi_controller_register_device_listener):
1725 Now handle mouse event listeners as well as key listeners.
1726 (spi_controller_notify_mouselisteners):
1727 New internal method.
1728 (spi_device_event_controller_forward_mouse_event):
1729 Now we notify mouse device listeners as well as generating the
1730 non-consumable "mouse:" events.
1732 We must check and restore the XKB
1733 modifier map if we consume the event, since the act of triggering
1734 a mouse event will normally reset the XKB latch. This is required for
1736 (spi_controller_register_with_devices):
1737 Load the XKB settings when registering, and register for XKB
1738 state notify events.
1739 (spi_key_eventtype_seq_contains_event):
1740 Renamed spi_eventtype_seq_contains_event, since it's used
1741 internally for all device event types now.
1742 (spi_key_event_matches_listener):
1743 Uses spi_eventtype_seq_contains_event now.
1744 (spi_device_event_controller_object_finalize):
1745 Free the private data and the XkbKeyboard struct.
1746 (impl_register_device_listener, impl_deregister_device_listener):
1747 Implementation of new IDL.
1748 (spi_deregister_controller_device_listener):
1749 New internal method.
1750 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1751 More efficient implementation, we don't have to create a new
1752 XkbControls structure every time we query.
1753 (spi_device_event_controller_class_init):
1754 Initialize the epv entries for the new IDL. Assign the
1755 "spi-dec-private" quark.
1756 (spi_device_event_controller_init):
1757 Initialize the private data.
1758 (spi_device_event_controller_forward_key_event):
1759 Removed a bogus CORBA_exception_free() call.
1761 * registryd/deviceeventcontroller.h:
1762 Replaced inclusion of keystrokelistener.h with
1765 * test/event-listener-test.c:
1766 (report_mouse_event):
1769 Added mouse-event device listener.
1771 * test/test-simple.c:
1772 (create_test_window):
1773 Fixed regression (we were instantiating a GtkRange,
1774 which is now an abstract class). Also fixed to match
1775 existing AtkRole names, this seems to have changed in ATK
1776 awhile ago; too late now I think, and the new
1777 mechanism is at least elegant and consistent with the
1778 glib enum "nick" APIs.
1780 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1782 * idl/Accessibility_Relation.idl:
1783 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1784 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1785 * idl/Accessibility_Role.idl:
1786 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1787 * idl/Accessibility_State.idl:
1788 add STATE_MANAGES_DESCENDANTS
1789 * test/event-listener-test.c:
1790 Added a listener for active-descendant events.
1792 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1794 * atk-bridge/bridge.c
1795 (atk_bridge_init): If application is Bonobo component wait until top
1796 level is added before registering
1797 (spi_atk_bridge_do_registration): New function which contains code,
1798 formerly in atk_bridge_init, to do application registration.
1799 (spi_atk_bridge_toplevel_added): Signal called when top level
1800 added to Bonobo component
1802 This fixes bug #83134.
1804 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1806 * registryd/deviceeventcontroller.c
1807 Fixed compilation error caused by calling gettimeofday()
1810 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1815 Added template for HAVE_XKB.
1818 Changes to check for XKB, and to set the HAVE_XKB #define if it
1821 * libspi/listener.c:
1822 ()impl_notify_event): Make failure to get event source name
1825 * registryd/deviceeventcontroller.c:
1826 (#include): include X11/XKBlib.h.
1827 (DEControllerPrivateData) : New struct.
1828 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1830 (dec_synth_keycode_press) (dec_synth_keycode_release):
1831 New methods; split the key synthesis code into these methods.
1832 They check XKB settings before determining the "time" values to
1833 pass to Xtest; this fixes bug #95828.
1834 (impl_generate_keyboard_event): Changed to use methods above,
1835 instead of callng Xtest directly.
1836 (spi_device_event_controller_init): Initialize new privae struct s
1838 (spi_device_event_controllr_object_finalize):
1839 Free the (new) private data.
1841 * registryd/deviceeventcontroller.h:
1842 Add new gpointer to end of struct data.
1844 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1847 Incremented revision to 1.1.2, SONAME is still '.so', library
1848 extensions are ".so.0.0.2".
1850 * registryd/deviceeventcontroller.c:
1851 FIXES FOR #93592 and #95940.
1852 (statics): renamed mouse_button_state to mouse_mask_state,
1853 added key_modifier_mask.
1854 (spi_dec_poll_mouse_moved):
1855 Added key modifier checks, and emit "keyboard:modifiers"
1856 events when the key modifiers currently in use change.
1857 Also generate "mouse:abs" events periodically, even if the mouse
1858 is stationary (should we?).
1859 Alternatively we could generate "mouse:abs" events for either all
1860 mouse movements, or every 'nth' mouse movement, or at the
1861 beginning and end of every "active" mouse period.
1863 * test/event-listener-test.c:
1864 (main): Added listener for "keyboard:modifiers" events.
1866 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1868 * libspi/keymasks.h:
1869 Added key mask #defines for mouse buttons; e.g.
1870 SPI_KEYMASK_BUTTON1, etc.
1873 Incremented dependency on ATK to version 1.1.0. (This dependency
1874 is probably premature but will soon be real enough).
1876 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1878 * libspi/hyperlink.[ch]
1879 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1880 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1883 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1888 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1890 * registryd/deviceeventcontroller.c
1891 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1892 events to be ignored.
1893 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1894 keyboard_mode so that XAllowEvents() can be called.
1898 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1900 * cspi/spi-accessible.c: Correct names of roles returned by
1901 AccessibleRole_getName(). Fixes bug #95055.
1903 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1905 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1908 * registryd/registry.c
1909 (desktop_remove_application: Write diagnostic message to stderr for
1912 (impl_accessibility_registry_deregister_global_event_listener):
1913 Correct size of lists array. This addresses bug #94555).
1915 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1917 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1920 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1922 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1925 * registryd/registry.c (impl_registry_notify_event): Remove
1926 unnecessary call to parser_event_type().
1928 * docs/reference/cspi/tmpl/spi_component.sgml:
1929 Add reference to SPI_LAYER_WINDOW.
1931 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1933 * registryd/registry.c
1934 (desktop_add_application): Remove leak.
1935 (desktop_remove_application): Remove leak.
1936 (parser_event_type): Remove leak.
1938 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1940 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1941 bogus call to CORBA_string_dup(). Also removed unnecessary
1942 g_string_dup/g_free calls.
1944 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1946 * registryd/deviceeventcontroller.c:
1947 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1949 * test/event-listener-test.c:
1950 main: commented out three redundant listeners, to reduce output
1951 noise. (They still are potentially useful for testing).
1954 2002-09-13 Michael Meeks <michael@ximian.com>
1956 * Update all the copyrights to include Ximian.
1958 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1960 * cspi/spi.h: add SPI_LAYER_WINDOW.
1962 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1963 add Accessibility_LAYER_WINDOW case.
1965 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1967 * libspi/component.c: (impl_accessibility_component_get_layer):
1968 add ATK_LAYER_WINDOW case.
1970 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1972 * configure.in: incremented micro version.
1974 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1976 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1979 Clarified and reworded our commit policy.
1982 Started an API "todo" addition list for 2.2.
1985 (impl_getSelection):
1986 Free char pointer from atk_text_get_selection, which was being leaked.
1988 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1991 Small revision to author acknowledgement.
1993 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1995 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1996 If signal has detail add it to the type of the event.
1999 2002-08-12 Michael Meeks <michael@ximian.com>
2001 * test/test-simple.c (global_listener_cb): bin bogosity.
2002 (test_keylisteners): disable, still doesn't work reliably,
2003 certainly not on my system anyway.
2005 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2006 don't leak a reference on the DEC. This round-trip
2007 fetching of the DEC per keystroke sucks, it should be
2010 * cspi/spi-private.h,
2011 * cspi/cspi-lowlevel.h,
2012 * cspi/bonobo/cspi-bonobo-listener.[ch],
2013 * cspi/bonobo/cspi-bonobo.c: get the copyright
2014 notices better - there is still a large amount of
2015 work in at-spi falsely attributed solely to Sun.
2017 * cspi/spi_main.c (cspi_object_ref): kill bogus
2018 hash lookup, just increment the ref.
2019 (SPI_freeString): make explicit the fact that we
2020 handle NULL strings just fine.
2021 (report_leaked_ref): obey coding standards.
2022 (cspi_object_hash, cspi_object_equal): kill retval.
2023 (cspi_object_release): only release if not on loan.
2024 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2025 (cspi_object_borrow, cspi_object_return): impl.
2027 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2028 use cspi_object_borrow / return.
2030 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2032 * cspi/bonobo/cspi-bonobo-listener.c:
2034 Don't call cspi_oject_new() because this is creating a new Accessible
2035 every single time that an event is fired. This causes ATs like at-poke
2036 to nolonger recognise the source of the event and thus ignore it.
2037 Re-use the object from the cache, ref it and then unref it after the
2038 listeners have been called.
2040 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2042 * test/event-listener-test.c:
2043 Added command-line options to disable mouse events (m) and
2046 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2048 * configure.in: Update required versions of ATK, GTK+ and GAIL
2050 * cspi-1.0.pc.in: Add dependency for X include files
2053 * cspi/bonobo/Makefile.am:
2054 Add $(X_CFLAGS) so that X include files
2055 are picked up even if not in standard place (bug #71686)
2057 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2059 * registryd/deviceeventcontroller.c: fix for 84261
2060 (spi_dec_mouse_moved):
2061 Added test of mouse button mask, so that we can detect mouse
2062 button release. Unfortunately we can't otherwise detect mouse
2063 button release events without consuming the mouse press event,
2064 because of the way XGrabButton works. This means that our mouse
2065 release events have a latency dependent on the polling period
2066 while the mouse button is down. At least in this case we only
2067 have to poll while the button is down, and not at other times.
2068 If the button masks don't match with what the last press event
2069 reported, we report the appropriate button release event.
2070 (spi_dec_ungrab_mouse):
2071 New method (not yet called).
2072 (spi_device_event_controller_forward_mouse_event):
2073 New method, sends mouse press event from GdkFilter.
2074 (spi_dec_init_mouse_listener):
2075 Added code to call XGrabButton, redirecting mouse button events to
2076 the root window and our Gdk event loop.
2078 Added code to filter mouse button events, and reordered.
2080 * test/event-listener-test.c:
2082 Added registration for mouse events of type "mouse:button".
2084 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2086 * registryd/deviceeventcontroller.c: partial fix for 84261
2087 (spi_dec_poll_mouse_idle):
2088 New method, a timeout which checks to see if the mouse
2090 (spi_dec_poll_mouse_moving):
2091 A timeout to be called when mouse motion is underway.
2092 (spi_dec_poll_mouse_moved):
2093 A method which fires an event if the mouse has moved, and reports
2094 whether or not it did so.
2095 (spi_dec_init_mouse_listener):
2096 A method which sets up the timeouts above.
2097 (spi_device_event_controller_new):
2098 Now calls spi_dec_init_mouse_listener.
2100 * registryd/registry.c:
2101 (spi_registry_init):
2102 Now we initialize the device event controller when the registry is
2103 initialized, instead of waiting until a client has requested a key
2104 event notification; this is because we need the event controller
2105 for mouse events, but the mouse event registration API is a
2106 "registry" call and doesn't explicitly call the
2107 deviceeventcontroller.
2108 We now report mouse motion events with a 100 ms idle latency and
2109 a 20 ms granularity when motion is in progress.
2111 * test/event-listener-test.c:
2113 We now register the "detail listener" for events of type
2114 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2115 delivered only for the first mouse event received, and thereafter
2116 "mouse:abs" events are delivered.)
2118 * cspi/spi_registry.c:
2119 DOCS: Documented the above mouse event typestrings.
2121 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2123 Happy Summer Solstice...
2125 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2126 (spi_controller_notify_keylisteners):
2127 Changes to remove a listener from the listener list, freeing its
2128 open keygrabs, if a notification to that listener fails. This
2129 means that although a dead listener can continue to hold a passive
2130 keygrab, a maximum of one dispatch to such a listener can fail
2131 before the listener is removed from the list, thus the keygrab
2132 will be released on the next occurrence.
2133 As part of this fix:
2134 (spi_notify_keylisteners):
2135 Renamed to spi_controller_notify_keylisteners, as the controller
2136 instance must now be passed as an argument.
2137 The copied 'notify' GList is now a list of DEControllerKeyListener
2138 objects, since we need more than just the CORBA reference if a
2139 notify fails and we need to deregister the listener.
2140 (impl_notify_listeners_sync):
2141 (impl_notify_listeners_async):
2142 (spi_device_event_controller_forward_key_event):
2143 Modify use of notify_keylisteners in accordance with above
2145 (spi_deregister_controller_key_listener):
2146 New method introduced by refactoring, from
2147 impl_deregister_keystroke_listener.
2148 (impl_deregister_keystroke_listener):
2149 Call spi_deregister_controller_key_listener.
2150 (spi_key_listener_clone):
2151 New method to copy a key listner without doing a 'ref' on the
2152 remote object instance; used to create a notifier list.
2153 (spi_key_listener_data_free):
2154 New method, frees data without unreffing the source.
2156 (spi_key_listener_clone_free): new method.
2157 (spi_key_listener_free):
2158 refactored to call spi_key_listener_data_free.
2160 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2162 * registryd/registry.c: [fix for bug 86048]
2163 (notify_listeners_cb):
2164 Clear CORBA system exceptions which occur when notifying
2165 listeners, before returning to the source of the original event,
2166 since the event source doesn't care if the relayed notify failed.
2167 In other words, don't complain to the atk-bridge if the registry
2168 could not notify all its listeners, that's no fault of the
2169 application and thus should not appear to be an error from the
2170 application's perspective.
2172 * cspi/spi_main.c: [fix for bug 85980]
2174 Replaced use of bonobo_object_dup_ref with call to the wrapper
2175 method, csou_dup_ref (); this silences a compiler warning and
2176 provided more portability.
2178 Ping the registry before return, and restart if necessary.
2180 * cspi/bonobo/cspi-bonobo.c:
2182 New internal method.
2184 Fixed this method to return an object reference, as it should have
2187 * cspi/cspi-lowlevel.h:
2188 Added internal definition for cspi_ping() and fixed
2189 return type of cspi_dup_ref().
2192 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2194 * atk-bridge/bridge.c: [fix for bug 85305]
2195 (spi_atk_bridge_register_application):
2196 New method where the initial application registry calls have been
2197 moved; it allows an application to re-register in response to
2198 certain error conditions (such as a registry restart, see below).
2200 Moved some initialization code to the method
2201 spi_atk_bridge_get_registry, below.
2202 (spi_atk_bridge_get_registry):
2203 New, private accessor function for the Accessibility_Registry
2204 instance. If the registry has not been started before, or has
2205 died (as detected by failure of a CORBA exception), it is
2206 restarted before return, and spi_atk_bridge_register_application
2207 is called again to register with the new bridge instance.
2208 (spi_atk_emit_eventv):
2209 Set registry_died on error; use spi_atk_bridge_get_registry () to
2210 access the registry.
2212 * registryd/registry.c:
2213 (impl_accessibility_registry_register_global_event_listener):
2214 Set listener's event_type_quark to etype.minor instead of
2215 etype.major (fix for bug 84856).
2217 * test/event-listener-test.c:
2218 (report_detail_event):
2219 Change the output string so that user/tester can tell that the
2220 'detail listener' was called instead of the 'generic listener'.
2222 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2224 Fixes for bugs 84900, 84908, 84897, 84898.
2229 Revved version to 1.1.0
2230 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2231 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2233 * idl/Accessibility_Registry.idl:
2234 (EventListener::notifyEvent):
2235 Removed 'oneway' directive after extensive consulation with
2236 ORBit2 team and others. This means also that unref() of the event
2237 source can and should be done synchronously after emission, rather
2238 than remotely in the client, after servicing the notify call on
2241 NOTE: This change speeds up listener performance considerably, but
2242 introduces new latency on the application side. We may want to
2243 add an event queue to the atk-bridge.
2245 * atk-bridge/bridge.c:
2246 (spi_atk_bridge_focus_tracker):
2247 Do a local unref() on the event source after emission.
2249 * registryd/registry.c:
2250 (desktop_remove_application):
2251 Do an unref() on the event source after emission.
2252 (desktop_add_application):
2253 Do an unref() on the event source after emission.
2254 (notify_listeners_cb):
2255 When relaying an event, don't automatically add the event source
2256 to the local object cache, just CORBA_dup it instead. Likewise,
2257 if this method reenters, release the ref rather than calling
2259 (impl_registry_notify_event):
2260 No longer call remote unref() on the event source after dispatch.
2262 * libspi/eventlistener.c:
2263 (impl_accessible_event_notify_event):
2264 Removed remote unref ()
2266 * cspi/bonobo/cspi-bonobo-listener.c:
2268 We now call cspi_object_new() instead of cspi_object_add() on
2269 receipt of an event; thus we only have an implicit object ref
2270 while the cspi_event method is being executed. If we need to keep
2271 a reference to the object, the listener must call ref() on the
2272 object. Thus also we don't need to call cspi_object_unref() after
2273 invoking the listener callbacks in this method.
2277 New internal API for creating a new cspi object, without adding it
2278 to the object cache.
2280 Now uses cspi_object_new() to create the cspi object instance.
2282 Now checks to see if the object is in the internal object cache,
2283 and adds it if necessary before incrementing its refcount (note
2284 that new objects are added with a refcount of 1).
2285 (report_leaked_ref):
2286 New method which gives some information on leaked object instances
2287 if leak detection is turned on.
2289 * test/event-listener-test.c:
2290 (timing_test_event):
2291 New method, used for testing event delivery timing for special
2292 events of type "object:test". It reports elapsed time and
2293 events/sec every 500 events.
2295 Added a new listener, 'test listener', to check timing of event
2296 receipt as noted above.
2298 Added some timing output here also, reports elapsed time every 100
2301 * test/stress-test.c:
2302 Emit events of type "object:test", for use with "event-listener-test".
2304 * test/test-simple.c:
2305 (global_listener_cb):
2306 Call Accessible_ref() on the event source before calling
2307 validate_accessible, since the validation process does pointer
2308 comparisons on the event source, meaning that the event source
2309 needs to be added to the local object cache first. Any use of
2310 such pointer comparisons between Accessible objects requires that
2311 the caller hold an explicit reference to those objects.
2312 We also must therefore call Accessible_unref() when leaving this method.
2314 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2316 * registryd/deviceeventcontroller.c:
2317 (spi_controller_update_key_grabs):
2318 Fix for #84735, subsequent keygrab listeners not informed of
2319 registration failure.
2322 (spi_base_construct):
2323 Add an assertion on construct, to make sure the GObject passed in
2324 is really a GObject.
2326 Explicitly initialize object->gobj pointer to NULL;
2328 * cspi/bonobo/cspi-bonobo-listener.c:
2329 (cspi_object_add_ref):
2330 New method, can specify whether to dup-ref a bonobo object passed
2331 in if it's newly added to the object cache.
2333 Now calls cspi_object_add_ref with second param of "FALSE". This
2334 prevents us from doing a pointless dup-ref followed by
2335 release-unref for all those cases where the object is already in
2336 our object cache (fix for #85205).
2338 * atk-bridge/bridge.c:
2339 (spi_atk_bridge_idle_init):
2340 Removed this method, we don't need to initialize in an idle
2343 Changed to call spi_atk_register_event_listeners directly, not via an
2344 idle handler. (fix for #81139)
2345 (gnome_accessibility_module_shutdown):
2346 Removed conditional around deregistration of listeners, since we
2347 don't use the idle handler and thus have always registered when
2349 (spi_init_keystroke_from_atk_key_event):
2350 Changed references to Accessibility_KEY_PRESSED to
2351 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2353 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2355 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2360 * test/stress-test.c:
2363 (may have been an incomplete commit yesterday?)
2365 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2368 Added target for new stress-test.
2370 * test/stress-test.c:
2371 New test, sends 1000 focus notifies in quick succession.
2373 * test/key-listener-test.c:
2374 Now we report whether a keylistener registration
2375 request succeeded or failed.
2377 * test/event-listener-test.c:
2378 Uncommented some listeners which are now implemented.
2381 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2383 * registryd/deviceeventcontroller.c:
2384 (spi_controller_update_key_grabs):
2385 Fix for #82509, lack of failure notification when
2386 ALL_WINDOWS keygrabs fail due to XGrabKey
2387 failure: we synchronize the server when
2388 registering a passive grab, to make sure we get the
2389 error message before the call returns.
2391 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2393 * test/test-simple.c:
2395 Removed #ifdef KEY_IMPL_WORKS guards.
2396 (test_keylisteners):
2397 Removed #ifdef KEY_IMPL_WORKS guards.
2398 Fixed bug which was causing a hang waiting for a
2399 "press" event (which was already overwritten by a "release"
2400 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2402 Added code to set globals 'key_press_received' and
2403 'key_release_received'.
2406 Added section "1.1 API Proposed Additions" which
2407 lists API additions desired for at-spi-1.1 (only one so far).
2408 Updated TODO list a little.
2410 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2412 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2415 * configure.in: Revved to 1.0.0.
2417 * idl/Accessibility_Registry.idl:
2418 (registerKeystrokeListener):
2419 Added boolean return value.
2421 * registryd/registry.c:
2422 (notify_listeners_cb): Minor fix to debug output.
2424 * registryd/Accessibility_Registry.server.in.in:
2425 Revved version number in OAFIID to 1.0.
2427 * registryd/registryd.c:
2429 Use new OAFIID version.
2431 * cspi/bonobo/cspi-bonobo.c:
2433 Use new OAFIID version.
2439 * atk-bridge/bridge.c:
2441 Use new OAFIID version.
2443 * registryd/deviceeventcontroller.c:
2444 (impl_register_keystroke_listener):
2445 Added CORBA_boolean return value.
2446 (spi_controller_register_device_listener):
2447 Added gboolean return value.
2448 (spi_controller_register_global_keygrabs):
2449 Added gboolean return value.
2450 (spi_key_set_contains_key):
2451 Added implementation for many more control keys,
2452 for instance F1-F12, arrow keys, End, Home, Page_Up,
2454 [TODO: some still not implemented].
2456 * text/screen-review-test.c:
2457 (text_chunk_pad_string):
2458 New function: it provides mapping between coordinate
2459 positions of text chunks and character positions in the
2460 screen-review-line output string.
2461 (text_chunk_to_string):
2462 New function, calls text_chunk_pad_string with various
2463 pad/delimiter characters. Pushbuttons are delimited with
2464 square brackets, Frames with vertical 'pipe' lines, and
2465 other text with double quotes.
2466 (text_chunk_list_to_string):
2467 Calls new function text_chunk_to_string.
2468 (toplevel_composite):
2469 New function to composite layers CANVAS through
2470 POPUP in each toplevel (other layers are composited
2471 across toplevels, i.e. BACKGROUND and OVERLAY).
2472 (review_buffer_composite):
2473 Revise to use new methods.
2479 2002-05-31 Laszlo Peter <laca@sun.com>
2481 * configure.in: add the Xtst libdir to the runpath on Solaris,
2482 since it's not in the default library search path.
2484 2002-05-29 jacob berkman <jacob@ximian.com>
2486 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2488 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2490 * test/screen-review-test.c:
2491 (text_chunk_pad_string):
2492 Added method, which pads the string according to the
2493 text bounds of the chunk. It also takes a 3-character
2494 string as a param which indicates the characters to be
2495 used for start, padding, and end delimitation of the chunk.
2496 (text_chunk_to_string):
2497 Changed to use text_chunk_pad_string.
2499 * configure.in: Fixed bug in AC_OUTPUT that was
2500 causing path substitution in Accessibility_Registry.server
2503 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2505 * text/screen-review-test.c:
2506 (guess_string_clip):
2507 New method which attempts a best-guess at clipping
2508 text from components (like Java labels) which don't
2509 actually implement AccessibleText. This inaccurate
2510 clip is based on the assumption that the label is
2511 justified left-and-right, and monospaced.
2512 (text_chunk_get_clipped_string):
2513 We now call guess_string_clip() for text-containing
2514 components that don't implement AccessibleText.
2516 * test/screen-review-test.c:
2517 (review_buffer_get_text_chunk):
2518 We now pull "name" from labels if they do not implement
2519 AccessibleText (i.e. for Java labels).
2520 (get_screen_review_line_at):
2521 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2524 Replaceded AC_OUTPUT target
2525 registryd/Accessibility_Registry.server with
2526 registryd/Accessibility_Registry.server.in.
2528 * registryd/Accessibility_Registry.server.in:
2529 Removed (this is now a Makefile target).
2531 * registryd/Accessibility_Registry.server.in.in:
2532 Added (source for target above). We now use $(libexecdir) as
2533 prefix for the executable at-spi-registryd.
2535 * registry/Makefile.am:
2536 Now install at-spi-registryd into $(libexecdir), and build .server
2537 file with path (see above).
2539 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2541 * test/screen-review-test.c:
2542 (text_chunk_get_clipped_string):
2543 We now check to see if words fall within clip bounds
2544 before resorting to character-by-character clip bounds testing.
2546 * TODO: Added a section for "2.2 Proposed API Additions".
2548 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2550 * test/screen-review-test.c:
2552 Added a screen review benchmarking and test program to test
2555 * cspi/spi_accessible.c:
2557 Made some of the debug strings passed to cspi_check_ev a
2558 little more specific.
2560 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2562 * test/screen-review-test.c: Fix crashes in debug statements
2564 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2566 * test/screen-review-test.c: Added this file.
2568 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2570 * atk-bridge/bridge.c: changed "object:state-change" to
2571 "object:state-changed" to match docs.
2573 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2575 * atk-bridge/bridge.c: Hooked up state-change event details.
2577 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2579 * registryd/registry.c:
2580 Fixed quarking bug in event string parsing; now events with
2581 detail parameters get matched correctly to listeners.
2584 * util/idl/Magnifier.idl: remove.
2586 * util/*.[ch]: Remove.
2587 Magnification utilities and IDL are now in module gnome-mag.
2589 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2591 * registryd/deviceeventcontroller.c:
2592 Fixed bug in grab key conversion which was causing keycode grabs
2593 to be converted to AnyKey grabs.
2596 updated NEWS file to reflect recent spin-off of gnome-mag.
2598 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2600 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2601 busted AccessibleStateSet_compare. Removed redundant casts.
2603 * cspi/spi-action.c: Removed redundant casts.
2605 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2607 * cspi/spi_component.c: Fixed typos and casting error.
2609 * cspi/spi_editabletext.c: Removed redundant casts.
2611 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2613 * cspi/spi_hypertext.c: Eliminated redundant casts.
2615 * cspi/spi_image.c: Eliminated redundant casts.
2617 * cspi/spi_registry.c: Eliminated redundant casts.
2618 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2619 * cspi/spi_selection.c: Removed redundant casts.
2620 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2621 handling. Screen geometry and text offsets were being returned as 0
2622 on error which is technically valid-- changed these to return -1.
2623 Added marshaller for text boundary types to fix bug with boundary
2624 types being passed incorrectly to atk.
2626 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2629 * cspi/spi_registry.c:
2630 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2631 which was uncovered by the recent key changes.
2633 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2635 * test/event-listener-test.c:
2637 Added new test, "event-listener-test";
2638 this code does two things; it benchmarks traversal time
2639 for the accessible hierarchy for the first running accessible
2640 app, and it connects listeners for all supported event types.
2641 It is thus useful as an example event listener and for
2642 diagnostics/debugging of event generation.
2644 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2647 Removed unnecessary dependency on libutil.
2650 Revved micro version: 0.13.1
2652 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2655 Removed util/Makefile from targets.
2658 Removed util subdir from SUBDIRS (temporarily,
2659 pending removal of magnifier-only code
2663 #ifdef-ed out magnifier dependencies, since
2664 magnifier IDL, headers, and binary now live in
2665 module gnome-mag and we don't want at-spi to depend
2666 on gnome-mag. A magnifier demo which can run alongside
2667 simple-at is forthcoming in the gnome-mag module.
2669 NOTE: Split magnifier binary, IDL, and magnification
2670 activation code from at-spi into module gnome-mag.
2672 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2674 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2675 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2677 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2680 Revved to version 0.13.0
2682 * idl/Accessibility_Registry.idl:
2683 Changed definition of KeySet from sequence of longs to sequence of
2684 KeyDefinitions, and added KeyDefinition struct.
2685 Required for fix to bug 80616.
2687 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2688 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2689 to use new definition (see above).
2691 * registryd/deviceeventcontroller.c: handle_keygrab(),
2692 spi_keyset_contains_key():
2693 Changed to make use of new struct; this allows matching based on
2694 string key-name, for instance "Tab". This also allows matching of
2695 composed characters, non-alphanumeric characters in a way that
2696 doesn't involve dependencies on X keysym codes directly, etc.
2698 * test/key-listener-test.c:
2699 Added test for Alt-Tab key using "string" specification of keyset,
2700 and modified one of the tests to use a keycode-based keyset.
2701 Thus this test both tests and demonstrates the creation and use of
2702 keysets of three forms: specified via keycode array,
2703 keysym array, and string array. (The string case only contains a
2704 single string, i.e. a string array of length 1).
2707 Turned on PRINT_TREE option by default. Also fixed a
2708 string-freeing bug in the PRINT_TREE code.
2709 Added a listener to window:minimize events.
2711 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2713 * atk-bridge/bridge.c:
2714 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2715 for window:activate and window:deactiveate
2716 (atk_bridge_property_event_listener atk_bridge_signal_listener
2717 atk_bridge_window_event_listener) Tidy debug code
2719 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2721 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2722 Fixed handling for NULL return value from ATK.
2724 * libspi/action.c libspi/component.c libspi/editabletext.
2725 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2726 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2727 Removed redundant casts.
2729 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2730 Fixed off by one bug.
2732 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2733 function not present in idl)
2735 2002-05-02 jacob berkman <jacob@ximian.com>
2737 * atk-bridge/Makefile.am: make atk-bridge a real module
2739 2002-04-26 Radek Doulik <rodo@ximian.com>
2741 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2742 atk_state_types table
2744 2002-04-22 jacob berkman <jacob@ximian.com>
2747 * libspi/Makefile.am: add deps on the built files to help
2748 automake, and don't version the ORBit typelib
2750 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2752 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2753 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2754 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2755 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2756 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2757 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2758 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2759 libspi/accessible.h libspi/accessible.h libspi/base.h
2760 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2761 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2762 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2763 libspi/spi-private.h libspi/statetset.h libspi/table.h
2764 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2765 util/mag_client.h util/mag_control.c util/mag_image.c
2766 util/mag_image.h util/magnifier.c util/magnifier.h:
2767 Add missing file headers; standardize existing ones
2769 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2771 * atk-bridge/bridge.c: Added window event support.
2773 2002-04-18 Michael Meeks <michael@ximian.com>
2775 * libspi/relation.c (impl_getNTargets): impl.
2776 (impl_getTarget): impl.
2778 * libspi/Makefile.am: fix stateset install.
2780 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2783 Started putting useful info in this file.
2785 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2787 * atk-bridge/bridge.c:
2788 Propagate state-changed notifications to ATs
2790 * cspi/spi_registry.c: update docs to reflect actual behavior of
2791 state-change events.
2793 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2796 Incremented version to 0.12.1
2798 * util/mag_client.h:
2799 Add missing declaration for magnifier_exit,
2800 used by mag_control.c - Forte compiler didn't like
2801 the implicit redeclaration of the function :-(
2804 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2807 Revved version to 0.12 due to API change (see below).
2809 * cspi/spi-roletypes.h:
2810 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2811 definition from the inline docs, and added docs
2812 for SPI_ROLE_LAST_DEFINED.
2815 * cspi/spi_streamablecontent.c:
2816 Added missing seek_type parameter to
2817 (so far unused) method,
2818 AccessibleStreamableContent_seek().
2819 [ RT approval JodyG. ]
2822 Fixed docs for SPI_createAccessibleKeystrokeListener.
2824 * cspi/spi_registry.c:
2825 Fixed docs for SPI_KEYSET_ALL_KEYS.
2827 * docs/reference/cspi/at-spi-cspi-sections.txt:
2828 Added a number of missing APIs to SECTIONS.
2830 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2832 * registryd/Makefile.am:
2834 * cspi/bonobo/Makefile.am:
2835 Add $(X_LIBS) to makefiles.
2837 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2840 Revved version to 0.11.
2842 * libspi/component.c:
2843 Added implementation for grabFocus.
2845 * idl/Accessibility_Component.idl
2846 (Accessibility_Component_grabFocus):
2847 Made this method return boolean to indicate success or failure, to
2848 be consistent with cspi and the corresponding ATK method.
2850 * idl/Accessibility_Selection.idl
2851 (Accessibility_Selection_selectAll) :
2852 Made these methods return boolean to indicate success or
2853 failure, to be consistent with cspi and the corresponding ATK methods.
2855 * idl/Accessibility_EditableText.idl
2856 (Accessibility_EditableText_setTextContents,
2857 Accessibility_EditableText_insertText,
2858 Accessibility_EditableText_cutText,
2859 Accessibility_EditableText_deleteText,
2860 Accessibility_EditableText_pasteText):
2861 Made these methods return boolean to indicate
2864 * cspi/spi_editabletext.c:
2865 Made these methods return booleans.
2867 * libspi/selection.c:
2868 * libspi/component.c:
2869 * libspi/editabletext.c:
2870 Connected the boolean returns from ATK
2871 to the server-side code referenced above.
2873 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2875 * idl/Accessibility_Table.idl: Added missing methods,
2876 Accessibility_Table_addRowSelection,
2877 Accessibility_Table_addColumnSelection,
2878 Accessibility_Table_removeRowSelection,
2879 Accessibility_Table_removeColumnSelection.
2882 Added C wrappers for above IDL:
2883 AccessibleTable_addRowSelection,
2884 AccessibleTable_addColumnSelection,
2885 AccessibleTable_removeRowSelection,
2886 AccessibleTable_removeColumnSelection.
2889 Added server-side implementation code for IDL above, connecting
2890 to pre-existing ATK api.
2892 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2894 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2896 * libspi/accessible.c: Added implementation fo
2897 Accessibility_Accessible_get_state.
2899 * libspi/libspi.h: Added stateset.h to the list of includes.
2901 * libspi/stateset.c: Fixed broken implementation.
2903 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2906 Added implementation code for Accessibility_Magnifier_exit ().
2908 * util/mag_control.c:
2909 Added test code for above method; you can
2910 now kill an existing magnifier via
2911 ./mag_control q, from the util directory.
2913 * test/key-listener-test.c:
2915 Added a new test, for our key listener API.
2917 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2919 * test/app.c, test/keysynth-demo.c:
2921 Replace use of snprintf with g_snprintf.
2922 (fix for bugzilla 78249)
2924 2002-03-27 Michael Meeks <michael@ximian.com>
2928 * util/Makefile.am (INCLUDES): fix.
2929 (DONT_DIST_SOURCE): don't distribute the
2932 * libspi/Makefile.am (dist-hook): ditto.
2934 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2936 * libspi/hypertext.c:
2937 Fix warnings when yelp is used with atk-bridge
2939 2002-03-21 Michael Meeks <michael@ximian.com>
2941 * libspi/application.c (spi_application_new):
2942 use spi_accessible_construct so we use the AtkObject
2945 2002-03-19 Michael Meeks <michael@ximian.com>
2947 * registryd/registry.c (desktop_remove_application),
2948 (desktop_add_application): clean coding style.
2950 * registryd/desktop.c (spi_desktop_remove_application),
2951 (spi_desktop_add_application): kill re-enterency hazards.
2952 (spi_desktop_dispose): remove bogus redundant cast
2953 obscuring bug; fix bug too.
2954 (spi_desktop_init): make the desktop object immortal.
2956 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2959 Added a #define-guarded tree-traversal step
2960 when enumerating the apps (diagnostic tool).
2962 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2964 * idl/Accessibility_Role.idl:
2965 Added ROLE_DRAWING_AREA which seemed to be missing from the
2968 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2970 * cspi/spi-roletypes.h cspi/spi_accessible.c
2971 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2974 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2975 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2976 AT when applications are added and removed from the desktop. This
2977 reverts the previous broken implementation using the backing
2978 AtkObject for the SpiDesktop.
2980 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2982 * registryd/desktop.c: emit the "children-changed::add" and
2983 "children-changed::remove" signals on the backing ATK object for
2984 the desktop so AT can tell when applications are started and shut
2987 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2989 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2991 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2993 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2995 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2997 * cspi/state-types.h: synched with IDL and ATK
2999 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3001 * libspi/accessible.c
3002 (impl_accessibility_accessible_get_child_at_index):
3003 Change return value for g_return_if_fail ()
3004 to CORBA_OBJECT_NIL instead of "0" (!)
3006 * registryd/Makefile.am:
3007 * registryd/Accessibility_Register.server.in:
3008 Changed name of executable, "registryd",
3009 to something more informative:
3012 2002-03-13 Michael Meeks <michael@ximian.com>
3014 * atk-bridge/bridge.c (atk_bridge_init): don't register
3015 if we're in a bonobo-component, rather than a bonobo app.
3017 2002-03-13 Michael Meeks <michael@ximian.com>
3019 * atk-bridge/bridge.c (gtk_module_init): split
3020 out body to (atk_bridge_init): here, since otherwise
3021 we get symbol conflicts and oddness when invoked
3022 from (gnome_accessibility_module_init): here (upd.)
3024 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3027 New file. Explicitly allow "build sheriff" putbacks provided
3028 they are tested on Solaris.
3030 * docs/reference/cspi/Makefile.am:
3031 Added '-' to the "cp" command for index.sgml.
3032 ("patch by thomasvs, soon coming to a GUADEC near you")
3035 Incremented version number (0.9.0) for new release.
3036 Changed macro that checks for popt, to better detect
3037 obsolete versions of popt.
3040 Added X_LIBS to AC_SUBST, for applications
3041 that call Xlib API directly.
3044 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3047 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3050 Fix regression caused by hard-coding major
3051 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3054 * test/test-simple.c (test_editable_text),
3055 (test_test): revert previous change (error was
3056 a regression in gail which is now fixed).
3058 2002-03-04 Michael Meeks <michael@ximian.com>
3060 * test/test-simple.c (test_editable_text),
3061 (test_text): pass G_MAXINT instead of '-1' for
3062 whole string - is this a good thing !?
3064 * cspi/spi_accessible.c
3065 (Accessible_getRelationSet): fix crasher bug
3066 overwriting the end of the array.
3068 * test/test-simple.c (validate_accessible): free,
3069 not g_free returned relation set.
3071 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3073 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3074 implemented stateset support
3076 * idl/Accessibility_State.idl: Made necessary changes to
3077 the IDL to support state sets.
3079 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3081 * registryd/deviceeventcontroller.c:
3082 Added implementation for generateMouseEvent.
3084 * cspi/spi_registry.c:
3085 Connected new implementation for generateMouseEvent
3088 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3091 Incremented revision (but no change in public API
3092 outside of 'utils', which are not installed public yet.)
3094 * libspi/component.c:
3095 Changed to use atk_component API for layers and
3096 mdi_zorder, instead of deprecated atk_object API.
3098 Magnification Utility Enhancements:
3101 Added implementation of createZoomRegion, clearAllZoomRegions,
3102 resizeZoomRegion. Added new commandline argument
3103 "--no-initial-region". Note that clearAllZoomRegions doesn't
3104 unmap the old '0' region as it should (yet), and the other
3105 methods only work when creating/resizing a single region,
3106 which is "region 0".
3107 (Code for multiple region support will be added later.)
3110 Now we raise the magnifier window each time it's refreshed;
3111 this will help keep it on top.
3113 * util/mag_client.h:
3114 Added simple wrappers for above, used by mag_control.
3115 For general use, it's recommended to use the bonobo magnifier
3116 control API directly instead of using these wrappers.
3119 Moved ZoomRegionData from magnifier.c to this file.
3121 * util/mag_control.c:
3122 Added some code to exercise new IDL implementations.
3124 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3126 * libspi/text.c: Provide implementation for getAttributes.
3128 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3131 Incremented revision.
3133 * test/test-simple.c:
3134 Replaced use of deprecated g_main_iteration with
3135 g_main_context_iteration.
3137 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3140 Incremented revision for desktop alpha 2.
3142 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3144 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3147 * test/simple-at.c: include netinet/in.h.
3149 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3151 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3152 use NULL, not CORBA_OBJECT_NIL.
3154 * libspi/accessible.c:
3155 (impl_accessibility_accessible_get_relation_set):
3156 allocate the sequence correctly.
3158 * libspi/remoteobject.h: kill spi_remote_object_new.
3160 * test/test-simple.c: (validate_accessible): add code
3161 to test relation sets, now all we need is to figure
3162 out how to excercise this code path :/
3164 2002-01-18 Michael Meeks <michael@ximian.com>
3166 * test/test-simple.c
3167 (key_listener_cb): consume the key.
3168 (test_keylisteners): update.
3169 (main): wait for any pending unrefs on events.
3171 * registryd/deviceeventcontroller.c
3172 (spi_controller_update_key_grabs): only re-issue the
3173 grab on a key release.
3174 (spi_device_event_controller_forward_key_event):
3175 refresh the keygrabs before we notify the listeners,
3176 to reduce the X ungrab / re-grab race.
3177 (spi_controller_register_with_devices): remove
3178 XSelectInput - we do that with the gdk_window_ call.
3179 (_spi_controller_device_error_handler): return a value.
3180 s/GDK_DISPLAY/spi_get_display/
3182 2002-01-17 Michael Meeks <michael@ximian.com>
3184 * registryd/deviceeventcontroller.c
3185 (_deregister_keygrab): don't blow out the later
3188 * test/test-simple.c (test_keylisteners): do a
3189 more intelligent validation.
3191 2002-01-14 Michael Meeks <michael@ximian.com>
3193 * atk-bridge/bridge.c
3194 (gnome_accessibility_module_init),
3195 (gnome_accessibility_module_shutdown): impl.
3196 (gtk_module_init): protect vs. double inits.
3197 (add_signal_listener): impl.
3198 (spi_atk_bridge_state_event_listener): kill
3199 (deregister_application): split out of
3200 (spi_atk_bridge_exit_func): here.
3202 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3205 Added caret tracking when using magnifier, and
3206 now use text bounds for focus tracking of text elements, rather than
3207 the component bounds - this is helpful for short text fields in long
3208 table cells, at high magnification.
3210 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3212 * registryd/deviceeventcontroller.c:
3213 Regression fix for keylistener de-registration; global keygrabs
3214 were not being released when deregisterKeystrokeListener was
3215 called in cspi, since
3216 Accessibility_DeviceEventController_deregisterKeystrokeListener
3217 was called with a zero-length keyset. That is because the cspi
3218 method, SPI_deregisterKeystrokeListener, does not take a keyset
3219 parameter but instead should remove all the key grabs held be a
3221 The code in impl_deregister_keystroke_listener was changed to copy
3222 the keylist from the listener instance previously registered with
3223 the DeviceEventController before releasing the grabs.
3225 * registryd/registry.c:
3226 * registryd/deviceeventcontroller.c:
3227 * libspi/spi-private.h:
3229 Changed spelling of "re-enterant" to "re-entrant" globally.
3231 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3233 * test/test-simple.c:
3234 Changed key listeners test - the test was slightly mis-using the
3235 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3236 It now uses '=' as the key event listened to and generated,
3237 relying on a keysym match rather than assuming that keycode 33
3238 is always equal to keysym '!'.
3240 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3243 Changed simple-at to use a specific keyset, rather than
3244 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3245 manager, desktop, etc.
3247 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3249 * registryd/deviceeventcontroller.c:
3250 Replaced standard X error handler with a special handler that
3251 is non-fatal for failed keygrabs. This works around
3252 problems with keygrab clashes sometimes observed on
3254 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3255 mouse handling code as yet).
3257 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3260 Incremented revision for desktop alpha release.
3263 Fixed a couple of the more glaring errors (still not
3266 2002-01-11 Michael Meeks <michael@ximian.com>
3268 * registryd/deviceeventcontroller.c
3269 (spi_device_event_controller_forward_key_event): kill
3270 XUngrabKey / XKeyGrab race.
3271 (spi_controller_grab_keyboard): rename to
3272 (spi_controller_update_key_grabs): this, and deal
3273 with incremental adding / removing grabs more
3275 (_register_keygrab): ensure we're not pending a remove.
3276 (spi_grab_mask_free): impl.
3277 (spi_controller_register_global_keygrabs): split out
3279 (handle_keygrab): impl.
3280 (_deregister_keygrab): impl.
3281 (spi_controller_deregister_global_keygrabs): impl.
3282 (spi_controller_update_key_grabs): re-issue the grab if
3283 we just recieved a notification.
3285 * test/test-simple.c (key_listener_cb): remove debug.
3287 * registryd/deviceeventcontroller.c
3288 (spi_controller_register_device_listener): after
3289 registering a global keygrab, actualy register it !
3290 don't wait for a timeout; doh !
3292 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3293 to make it more readable / manipulable.
3294 s/grabmask/grab_mask/ s/refcount/ref_count/
3295 s/keyval/key_val/ s/modmask/mod_mask
3297 2002-01-08 Michael Meeks <michael@ximian.com>
3299 * registryd/deviceeventcontroller.c
3300 (spi_controller_register_with_devices): use gdk calls to
3302 (global_filter_fn): implement the filter.
3303 (spi_device_event_controller_check_key_event): rename to
3304 (spi_device_event_controller_forward_key_event): this & upd.
3305 (spi_get_display): replace with GDK_DISPLAY.
3307 * registryd/deviceeventcontroller.c
3308 (spi_controller_deregister_device_listener): unroll into
3309 (impl_deregister_keystroke_listener): here to simplify.
3310 (spi_controller_register_global_keygrabs): split cut and
3311 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3312 (spi_controller_deregister_device_listener): remove.
3313 (impl_register_mouse_listener): remove, no mouse listener
3314 support in at-spi-1.0
3316 * registryd/registry.c
3317 (_device_event_controller_hook): kill.
3318 (spi_registry_init): upd.
3320 * registryd/deviceeventcontroller.c
3321 (spi_device_event_controller_class_init): upd.
3322 (spi_check_key_event): merge into.
3323 (spi_device_event_controller_check_key_event):
3324 here and kill strange static ev init, don't leak
3325 the x_event - nor dynamicaly allocate it.
3327 * registryd/registry-main.c (main): re-direct
3328 timeout to remove strange vtable mess.
3330 * registryd/deviceeventcontroller.c
3331 (remove_listener_cb): impl.
3332 (spi_controller_deregister_device_listener):
3333 fix re-enterancy hazard.
3335 2002-01-07 Michael Meeks <michael@ximian.com>
3337 * registryd/deviceeventcontroller.c
3338 (spi_device_event_controller_new): upd.
3339 (impl_notify_listeners_sync): upd. debug.
3340 (spi_notify_keylisteners): fix re-enterancy hazards,
3341 prettify, remove O(n*n) iteration.
3342 (spi_controller_grab_keyboard): fix iteration.
3343 (spi_check_key_event): re-format to suit coding style.
3344 Clean all the warnings - we're warning free.
3346 * registryd/deviceeventcontroller.h:
3347 * registryd/registry.h: make mutualy referential with
3348 typesafe forward references instead of (!) void pointer
3351 2002-01-11 Michael Meeks <michael@ximian.com>
3353 * cspi/spi_accessible.c (role_names): add a role name
3354 to sync this array with the enum; and make the regression
3357 2002-01-10 Michael Meeks <michael@ximian.com>
3359 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3360 allow expansion of enumeration & kill warning.
3362 * test/test-simple.c (key_listener_cb): impl.
3363 (test_keylisteners): impl.
3365 * cspi/spi-listener.h: make listener signatures const
3366 on the provided (const) events.
3368 * test/keysynth-demo.c: upd. to const events.
3370 * test/simple-at.c: ditto.
3372 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3375 Rev the version to 0.5 (the previous tarball was named 0.4,
3376 even though the micro number was 3), so we need to rev upwards
3377 again for beta2/"desktop-alpha"
3380 Checked in a demo script, which requires editing before use!
3381 Proceed with caution.
3384 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3386 * cspi/spi_accessible.c:
3387 Add a couple of missing enum initializations, and fix some enum
3390 * cspi/spi_registry.c:
3391 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3393 * docs/reference/cspi/at-spi-cspi-sections.txt:
3394 Remove/fix a couple of broken document references.
3397 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3398 as Alt-Control to listen for commands, since on some systems
3399 Control-Alt may already be grabbed.
3401 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3404 Update version number to 0.4 for Beta2.
3406 * libspi/accessible.c, libspi/accessible.h:
3407 Expose spi_accessible_construct, to enable libgail-gnome
3408 construction from spi_accessible subtype.
3410 * utils/magnifier.c:
3411 Workaround for bug in some non-gnome-compliant window managers
3412 which made magnifier resize improperly.
3414 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3416 * libspi/accessible.c: (spi_accessible_new) :
3417 Move the test for SPI_IS_REMOTE_OBJECT to
3418 spi_accessible_new_return, fixing a bug and compile time warning.
3420 2002-01-08 Michael Meeks <michael@ximian.com>
3422 * registryd/registry.c (parse_event_type): remove strndup.
3424 * libspi/Makefile.am (libspi_la_SOURCES): remove
3425 sources already included in the headers section.
3427 * libspi/util.c: add.
3429 * libspi/spi-private.h: add.
3431 * registryd/registry.c: update to moved list iterators.
3433 2002-01-05 Michael Meeks <michael@ximian.com>
3435 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3437 * test/test-simple.c (main): ditto.
3439 2002-01-04 Michael Meeks <michael@ximian.com>
3441 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3442 redundant construct.
3444 * registryd/registry.c
3445 (get_listener_list): impl.
3446 (impl_accessibility_registry_register_global_event_listener):
3447 re-impl. to simplify using ~, remove dodgy const cast off.
3448 (parse_event_type): constify.
3449 (impl_accessibility_registry_deregister_global_event_listener_all):
3450 re-write, more efficiency and simplicity, kill re-enterancy
3452 (compare_listener_corbaref, compare_corba_objects),
3453 (compare_listener_quarks): define out.
3454 (impl_accessibility_registry_deregister_global_event_listener):
3455 re-write for effiency, and nail re-enterancy hazard.
3456 (impl_accessibility_registry_get_desktop_list): impl.
3457 (re_enterant_list_delete_link): impl.
3458 (re_enterant_list_foreach): impl.
3459 (remove_listener_cb): impl.
3460 (_registry_notify_listeners): kill.
3461 (notify_listeners_cb): impl.
3463 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3464 (SPI_getDesktopList): impl.
3466 * test/test-simple.c (test_desktop): test the methods.
3468 2002-01-03 Michael Meeks <michael@ximian.com>
3470 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3471 keystrings since we free them
3472 (SPI_freeAccessibleKeySet): in here.
3474 * libspi/accessible.c (spi_accessible_new): kill warning,
3475 wonder what is going on with the constructor here.
3477 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3479 * libspi/accessible.c (spi_accessible_new ()) :
3480 Added check to see if AtkObject is an SpiRemoteObject before
3481 creating an SpiAccessible.
3483 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3485 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3486 Enable keygrabs using the Control modifier, now that they are
3487 working properly (they were previously disabled).
3490 Change the command keygrab for this demo to "Control+Alt", so as
3491 to conflict with fewer other key commands on the system; this
3492 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3494 Removed a pointlessly-chatty keylistener for unshifted keys
3495 (shifted keys are still reported).
3497 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3499 * libspi/remoteobject.h:
3500 * libspi/remoteobject.c:
3501 Added definitions for special AtkObject subtype, required for
3502 support of remote components (specifically, used by BonoboControl
3503 accessibility implementation).
3505 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3507 * cspi/spi.h: synched relation types with ATK
3509 * cspi/spi_accessible.c: Added implementations of
3510 AcccessibleRelation_* methods
3512 * idl/Accessibility_Relation.idl: added getRelationTypeName
3513 method. Synched known relation types with ATK. Allowed for
3514 relation type extension with the RELATION_EXTENDED type.
3516 * libspi/relation.c: Provided implementations for
3517 AccessibleRelation methods.
3519 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3521 API tweaks for today's API 'freeze'.
3524 Added placeholder functions to allow future compatible expansion
3525 of the IDL interfaces.
3527 * idl/Accessibility_Registry.idl:
3528 Changed generateKeyEvent to generateKeyboardEvent. Changed
3529 signature of this method to accept an optional keystring in
3530 parameter (for complex text input synthesis) and changed use of
3531 simple 'boolean' parameter in registerKeystrokeListener to a
3532 struct, EventListenerMode.
3534 * cspi/spi_accessible.c:
3536 * cspi/spi_streamablecontent.c:
3537 Added references to AccessibleStreamableContent interface, and
3538 definition and implementation of AccessibleStreamableContent
3541 * cspi/spi_registry.c:
3543 Changed generateKeyEvent API to generateKeyboardEvent,
3544 taking a new (optional) keystring parameter to support complex
3549 Renamed directory (to better reflect its actual purpose, bridging
3550 from at-spi to ATK). The .so module is also now named
3553 * idl/Accessibility_Hypertext.idl:
3554 * libspi/accessible.c:
3555 * libspi/hypertext.h:
3556 * libspi/hypertext.c:
3557 Changed Accessibility_Hypertext to *not* derive from
3560 * cspi/spi_registry.c:
3561 Added list of legal event type names for 'window' events, which
3562 completes the registry event API.
3564 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3566 * at-bridge/bridge.c: Added registration for separate
3567 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3568 signals. If either of the first two parameters to the generic
3569 bridge signal handler are ints, they are passed on as event
3570 details. This allows an AT to determine what text was inserted.
3572 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3574 * registryd/deviceeventcontroller.c:
3575 Fixed regressions in generateKeyEvent caused by the removal of
3576 gdk_init from registryd; we now use pure X calls to connect to the
3577 display, which makes sense because deviceeventcontroller already
3578 uses a fair bit of X API (should eventually be migrated to a
3579 'portability layer').
3581 * registryd/desktop.c:
3582 Fixed minor regression in spi_desktop_init, changed the way the
3583 desktop name is being set to work with new spi_base API
3584 (gobject-based, rather than AtkObject-based).
3586 * registryd/Makefile.am:
3587 Minor revision of makefile to use XTST_LIBS variable rather than
3588 hard-wiring the Xtst LD_ADD element.
3590 * test/keysynth-demo.c:
3591 Tweaked an output message; added initialization of the
3592 'keystrings' member of the "switch listener" key_set.
3594 * libspi/relation.c:
3595 Squashed compile-time warning.
3597 * libspi/accessible.c:
3598 Cosmetic and formatting fixes, renamed a static method.
3600 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3602 * libspi/accessible.c
3604 * libspi/application.c
3607 * libspi/component.c
3608 * libspi/editabletext.c
3609 * libspi/hyperlink.c
3610 * libspi/hypertext.c
3612 * libspi/selection.c
3616 * registryd/desktop.c:
3617 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3619 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3621 * idl/Accessibility_Registry.idl:
3622 Added boolean member 'is_text' to DeviceEvent. This is for the
3623 use of key events, and helps prevent ambiguity between composed
3624 key strings and keysym names, since both may potentially be
3625 returned in the 'event_string' member.
3627 * at-bridge/bridge.c:
3628 * registryd/deviceeventcontroller.c:
3629 Use the 'is_text' member when notifying device event listeners.
3630 Knon issue: composed characters are not dealt with correctly by
3631 the global key listener implementation yet.
3633 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3635 * at-bridge/bridge.c:
3636 Namespaced local static methods to spi_atk_bridge_* where
3637 previously named bridge_*, and spi_* elsewhere.
3639 * at-bridge/bridge.c:
3640 * cspi/bonobo/cspi-bonobo-listener.c:
3641 Added demarshalling/conversion for string member of
3642 Accessibility_DeviceEvent to AccessibleKeystroke.
3644 * registryd/deviceeventcontroller.c:
3645 Added code to fill the Accessibility_DeviceEvent key string value
3646 member for global key events (i.e. from XGrabKey), to match
3647 behavior of Accessibility_DeviceEvent from the toolkit key events
3648 from the bridge. Fixed timestamp in global key event notifications.
3651 Added printout of key event's string value to
3652 report_ordinary_key_event, for demo/debugging purposes.
3654 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3656 * idl/Accessibility_Registry.idl:
3657 Removed Accessibility_KeyStroke structure in favor of generic
3658 Accessibility_DeviceEvent structure.
3659 Changed Accessibility_ControllerEventMask from a struct to an
3662 * at-bridge/bridge.c:
3663 Changed APIs to use DeviceEvent structure as above, and removed
3664 bogus casting between these event structures.
3666 * cspi/spi-listener.h:
3667 Added keystring member of AccessibleKeystroke structure, to enable
3668 matching on event "names" rather than only hardware codes and
3672 Added keystrings member of AccessibleKeySet struct, to allow
3673 matching on event names (as above).
3674 Added declarations for SPI_createAccessibleKeySet and
3675 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3676 event modmasks directly as unsigned ints rather than structs with
3677 refcounts, in the DeviceEventController methods.
3679 * cspi/spi_registry.c:
3680 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3682 * cspi/spi-roletypes.h:
3683 Added documentation of newly added SPI Roles.
3685 * cspi/bonobo/cspi-bonobo-listener.c:
3686 Changes in support of API changes above.
3688 * libspi/accessible.c:
3689 Converted APIs to use DeviceEvent structure (see IDL changes
3692 * registryd/deviceeventcontroller.c:
3693 Added DEControllerGrabMask structure to track keygrabs not only by
3694 modmask but by keyset as well; this allows us to do "global"
3695 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3696 grabbing on AnyKey and then filtering after-the-fact.
3697 Bugfixes for event filtration mean that we don't get false matches
3698 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3700 * registryd/deviceeventcontroller.c:
3701 Namespaced a number of static methods to use spi_ prefix. Major
3702 revision to internals of global (i.e. X) key grabs.
3704 * registryd/deviceeventcontroller.h:
3705 Removed keymask_list and added keygrabs_list to
3706 SpiDeviceEventController struct.
3709 Added use of SPI_createAccessibleKeySet API when creating a
3710 listener for only one key. Attach a listener to "shift spacebar
3711 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3712 X key event names to SPI key event names, so that listeners are
3713 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3715 * test/keysynth-demo.c:
3716 Changed (incorrect) use of X key event names (KeyPressed,
3717 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3720 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3722 * libspi/accessible.c:
3723 Convert all AtkRole enumerations to Accessibility_Role enums when
3724 getting a role from an AtkObject.
3726 * cspi/spi_accessible.c:
3727 Complete the conversion of Accessibility_Role enums at runtime to
3728 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3729 role enums correctly match those given in spi-roletypes.h.
3730 Re-synchronize the local names list for AccessibleRole_getName ().
3731 AccessibleRole_getName is now deprecated, since it duplicates the
3732 more reliable Accessible_getRoleName.
3733 Added some role types from Accessibility_Role.idl.
3735 * idl/Accessibility_Role.idl:
3736 Added some role types used by AtkRole.
3738 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3741 * cspi/spi_registry.c:
3743 * cspi/cspi-bonobo-listener.c:
3744 Namespaced all methods that did not begin with an "SPI_" or
3745 "Accessible" prefix to "SPI_".
3748 Homogenized internal function namespace to "cspi_" for statics.
3751 Patched tests to use the new CSPI API.
3753 * docs/reference/cspi/at-spi-cspi-sections.txt:
3754 Updated docs to reflect namespace changes, and added a number of
3755 methods to the documentation.
3757 * registryd/registry.c:
3758 Changed use of strings and string hashes in listener event
3759 matching and parse_event_string to use GQuark, which is guaranteed
3762 * registryd/registry.h:
3763 Squashed annoying warning.
3765 * idl/Accessibility_Role.idl:
3766 Extended range of available Accessibility_Role values.
3768 * cspi/spi_accessible.c:
3769 Re-ordered role names.
3771 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3773 * idl/Accessibility_Value.idl:
3774 Revert use of union back to CORBA_double, since the double type is
3775 more efficient and can contain the other types without loss of
3778 * idl/Accessibility_Accessible.idl:
3779 Added method Accessibility:Accessible:getRoleName, to complement
3780 Accessibility:Accessible:getRole.
3782 * cspi/spi_accessible.c:
3784 Added C binding for above, Accessible_getRoleName (), and changed
3785 signature of Accessible_getRole () to return an AccessibleRole.
3787 * cspi/spi-roletypes.h:
3788 Changed AccessibleRole_getName to return a char * instead of a
3789 const char *. This method is now at least temporarily deprecated
3790 in favor of asking Accessibles for their RoleNames directly.
3793 Revert to match Accessibility_Value.idl;
3797 Change signature of AccessibleValue methods to use double rather
3801 * cspi/spi_accessible.c:
3802 Changed Accessible_getRole to return an AccessibleRole enum rather
3803 than a UTF-8 string. The UTF-8 string can still be obtained via
3804 AccessibleRole_getName ().
3806 * test/test-simple.c:
3807 Add test_action. Small fixup to match API change to Accessible_getRole.
3810 Bugfix for get_action_from_servant ().
3812 2001-12-11 Michael Meeks <michael@ximian.com>
3814 * libspi/libspi.h: remove registry.h and
3815 desktop.h, deviceeventcontroller.h
3817 * libspi/Makefile.am: remove registry.[ch],
3818 desktop.[ch], deviceeventcontroller.[ch]
3820 * registryd/Makefile.am: add registry.[ch],
3821 desktop.[ch], rename registryd.c to registry-main.c.
3822 add deviceeventcontroller.[ch]
3824 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3827 Replace setenv() call with putenv ().
3829 * libspi/component.c:
3830 Bugfix in AccessibleComponent_getExtents (),
3833 2001-12-11 Michael Meeks <michael@ximian.com>
3835 * libspi/image.c (impl_getImageExtents): impl.
3836 (spi_image_class_init): upd.
3839 (AccessibleImage_getImageDescription): fix daft bug
3842 * test/test-simple.c (global_listener_cb): update
3843 to only quit if not --poke
3844 (main): catch --poke.
3845 (validate_accessible): upd. dumping, call test_image
3848 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3851 * idl/Accessibility.idl: update all IDL includes.
3853 * idl/*.idl - rename to namespace - this sucks, blame
3854 mjs' bad decision for oafd.
3856 * test/test-simple.c (create_test_window): add more tests.
3857 (create_tree): split this out.
3858 (validate_accessible): bugfix.
3860 2001-12-11 Michael Meeks <michael@ximian.com>
3862 * cspi/bonobo/cspi-bonobo-listener.c:
3863 (cspi_kestroke_listener_unref),
3864 (cspi_event_listener_unref): impl. undoing previous
3865 homenous environment - for Bill.
3867 * cspi/spi_table.c (long_seq_to_array): use
3870 * cspi/spi_main.c: split out all bonoboish bits into
3873 * cspi/spi-impl.h: upd. typedefs.
3875 * cspi/spi_registry.c: update to lowlevel API,
3876 return booleans to indicate success in some places.
3878 * cspi/spi_event.c: update to lowlevel API.
3880 * cspi/bonobo/Makefile.am: add.
3882 * cspi/bonobo/cspi-lowlevel.h: add
3884 * cspi/bonobo/cspi-bonobo.c: add
3886 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3888 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3889 (SUBDIRS): add bonobo, link in the libs.
3891 * cspi/spi-util.c: kill this file.
3893 * TODO: merge in my bits.
3895 2001-12-11 Michael Meeks <michael@ximian.com>
3897 * test/test-simple.c (test_value, test_table, main):
3898 remove unused variables causing warnings.
3900 * configure.in: cleanup checks - require gail.
3902 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3905 Changed Value interface to use SValue (scalars) rather than
3906 assuming all values are floats. This allows floats, doubles,
3907 longs, shorts, and unsigned values to be manipulated.
3908 Introduced Accessibility:SValue union.
3911 Updated to use new API above, and to work correctly with GValues
3912 of different types in AtkValue.
3915 Updated to use new API above. cspi's API is as yet unchanged.
3918 Updated the Value revision action item.
3920 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3922 * test/test-simple.c:
3923 Added test_table (GtkTreeView widget in test window to follow).
3924 Un-commented test_value, added GtkRange widget.
3925 Added GtkTreeView widget with GtkListStore. It passes regression
3926 test but leaks one SPI object for some reason.
3929 Fixed bug in impl__set_currentValue.
3931 2001-12-10 Michael Meeks <michael@ximian.com>
3933 * cspi/spi_text.c: audit for exception handling,
3934 tolerating NULL object references safely etc.
3936 * cspi/spi_value.c: ditto.
3938 * cspi/spi_table.c (AccessibleTable_getSummary),
3939 (AccessibleTable_getAccessibleAt),
3940 (AccessibleTable_getRowHeader),
3941 (AccessibleTable_getColumnHeader),
3942 (AccessibleTable_getCaption): fix bugs hidden by
3944 (long_seq_to_array): impl.
3945 (AccessibleTable_getSelectedRows),
3946 (AccessibleTable_getSelectedColumns): use it.
3948 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3951 Added a TODO list (rough and short for now).
3953 * cspi/spi_hyperlink.c:
3954 * cspi/spi_hypertext.c:
3955 Fixed macro name typos, and remove use of obsolete macro in
3956 AccessibleHyperlink_getLink.
3958 * cspi/spi_action.c:
3959 * cspi/spi_accessible.c:
3960 * cspi/spi_application.c:
3961 * cspi/spi_component.c:
3962 * cspi/spi_selection.c:
3965 Documentation fixes (removed return values from ref/unref methods).
3967 2001-12-10 Michael Meeks <michael@ximian.com>
3969 * cspi/spi_action.c: audit for exception handling,
3970 tolerating NULL object references safely etc.
3972 * cspi/spi_accessible.c: ditto.
3974 * cspi/spi_component.c: ditto.
3976 * cspi/spi_editabletext.c: ditto.
3978 * cspi/spi_hyperlink.c: ditto.
3980 * cspi/spi_hypertext.c: ditto.
3982 * cspi/spi_image.c: ditto.
3984 * cspi/spi_selection.c: ditto.
3986 2001-12-10 Michael Meeks <michael@ximian.com>
3988 * configure.in: use cspi/libspi.pc.in instead.
3990 * Makefile.am (pkgconfig_DATA): upd. to match.
3992 * test/simple-at.c (report_focus_event): kill hacks around
3993 bad return values, use putenv not setenv
3995 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3996 fire ChildGone - I killed it.
3998 * libspi/component.c
3999 (impl_accessibility_component_get_extents): remove
4002 * idl/Accessible.idl: kill ChildGone exception.
4004 * cspi/*.[ch]: kill int return from ref / unref.
4006 * cspi/spi_main.c (cspi_object_add_check): fold into
4007 (cspi_object_add): here.
4009 * cspi/spi_component.c (AccessibleComponent_getExtents):
4010 handle exceptions elegantly.
4012 * cspi/spi-private.h (cspi_check_ev_return),
4013 (cspi_return_if_fail): impl.
4015 * cspi/spi_accessible.c: use extensively.
4016 (AccessibleStateSet_equals): add direct compare check.
4018 * cspi/spi_selection.c: tolerate NULL objs, and check
4019 exceptions before return.
4021 * cspi/spi-util.c (cspi_warn_ev): rename to
4022 (cspi_check_ev): this & don't pass ev in; no point.
4024 2001-12-10 Michael Meeks <michael@ximian.com>
4026 * test/test-simple.c: use putenv not setenv
4027 (get_environment_vars): more chatty if you're not using
4030 * test/simple-at.c: do the setenv so more people see the
4033 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4035 * libspi/registry.c:
4036 Changed check of CORBA_environment on notification to be a warning
4037 instead of an error for the moment, since we can recover from this
4038 error when caused by a queued notification from a dead app.
4041 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4042 used by all current implementors of AtkValue), and coerce to
4043 CORBA_float. (Proper general case fix may require change to Value.idl).
4045 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4049 * cspi/spi_accessible.c:
4050 Documentation fixes: added user_data params to documentation for
4051 listeners and callbacks.
4053 * cspi/spi_accessible.c:
4054 Changed AccessibleStateSet_compare to return a
4055 StateSet rather than return the difference set into a third parameter.
4058 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4061 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4062 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4066 Remove subdirectory po from SUBDIRS for now.
4068 * at-bridge/bridge.c:
4069 Beefed up a couple of debug printouts.
4070 One-line fix for signal notification name formatting.
4072 * libspi/accessible.c:
4073 Added assertion to spi_accessible_new ().
4075 * libspi/application.c:
4076 Put #ifdef qualifiers around a printf.
4079 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4081 * registryd/Makefile.am:
4083 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4084 INTLTOOL_SERVER_RULE macro.
4087 Added an event listener for several ATK signals, for
4088 testing and debugging. Removed a few g_warnings.
4089 Added test output if focussed item implements the Value interface.
4091 * test/test-simple.c:
4092 Added test_value () function (known not to pass at the moment, so
4093 not actually called yet.
4095 2001-12-08 Michael Meeks <michael@ximian.com>
4097 * at-bridge/bridge.c (bridge_focus_tracker),
4098 (emit_eventv): fix the same ref. leak.
4099 (register_atk_event_listeners): don't leak.
4101 * cspi/spi-listener-impl.c (cspi_event): more
4102 protection from client code.
4104 * test/test-simple.c (test_desktop): unref the app.
4106 * test/Makefile.am: upd. TESTS.
4108 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4110 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4112 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4114 * cspi/spi_registry.c: constify in strings.
4115 (deregisterGlobalEventListenerAll): don't release the ref.
4117 * cspi/spi.h: start removing redundant / conflicting
4118 gtkdoc comments, making the API readable at a glance :-)
4120 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4122 * test/keysynth-demo.c (keysynth_exit, main): upd.
4124 * test/simple-at.c (main, simple_at_exit): upd.
4126 * test/test-simple.c (unutterable_horror): kill.
4127 (utterable_normal_derefs): kill.
4128 (main): upd & do a setenv before gtk_init, so that we
4129 can use memprof - and to save the pain of remembering
4130 this, if we're running under memprof - don't exit.
4132 * cspi/spi_main.c (SPI_exit): return exit status
4134 (SPI_event_quit): impl.
4135 (SPI_event_main): simplify.
4136 (cspi_is_gnome_app): kill.
4137 (SPI_init): kill isGNOMEapp arg.
4139 * at-bridge/bridge.c (register_atk_event_listeners):
4140 re-instate the unref.
4141 (bridge_exit_func): don't re-activate the registry,
4142 protect vs. theoretical re-entry, use the
4143 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4144 assert a clean shutdown - for regression tests.
4146 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4148 * configure.in: Comment out dummy i18n support for now,
4149 otherwise it fails to build.
4150 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4151 EXTRA_DIST. They are missing in tarball.
4153 2001-12-07 Michael Meeks <michael@ximian.com>
4155 * util/magnifier.c: kill bonobo activation reg. race.
4157 * libspi/component.c
4158 (impl_accessibility_component_get_extents): make it match
4161 * libspi/registry.c (_registry_notify_listeners):
4162 re-remove X headers & reconcile conflicts.
4163 (spi_listener_struct_free): bad conflict resolve.
4164 (impl_accessibility_registry_register_application):
4165 more bad merging fixed.
4166 (impl_accessibility_registry_deregister_application): ditto.
4167 (spi_registry_new): ditto.
4168 (spi_registry_init): don't have an applications field.
4170 [ merge fixups2 branch to here ]
4171 2001-12-07 Michael Meeks <michael@ximian.com>
4173 * test/simple-at.c (report_focus_event),
4174 (report_focussed_accessible): remove g_warning debug.
4176 2001-12-07 Michael Meeks <michael@ximian.com>
4178 * test/test-simple.c (validate_tree): comment out some checks.
4179 (test_desktop): app now not registered idly - horay.
4181 2001-12-07 Michael Meeks <michael@ximian.com>
4183 * cspi/spi_registry.c
4184 (registerAccessibleKeystrokeListener): clean, stop it leaking
4185 great swathes of memory, and device event controller references.
4186 ensure we always pass valid sequences.
4187 (deregisterAccessibleKeystrokeListener): ditto.
4188 (generateKeyEvent): upd.
4190 * at-bridge/bridge.c (bridge_key_listener): handle
4191 registry dead exception gracefully.
4192 (bridge_focus_tracker, emit_eventv): free ev.
4194 * test/simple-at.c (report_focus_event): fix polarity.
4196 * libspi/application.c (notify_listeners): kill the ev
4197 argument, and make sure we init the ev we use.
4198 (spi_application_object_event_listener): split out a chunk
4199 (get_atk_object_ref): here & fixup.
4200 (reverse_lookup_name_for_toolkit_event): make const.
4201 (spi_application_toolkit_event_listener): fixup, kill leaks
4204 * at-bridge/bridge.c (register_atk_event_listeners):
4205 don't unref the noop object - causes grief.
4207 * libspi/registry.c: remove the X headers.
4208 turn off the debug churn.
4210 * libspi/accessible.c (spi_accessible_new_return): only
4211 release the ref if we are supposed to [doh]
4213 * test/simple-at.c (report_button_press, report_focus_event):
4214 guard vs. unexpected exit.
4216 * at-bridge/bridge.c (gtk_module_init): prune printf.
4217 (bridge_exit_func): fix app unref.
4219 * libspi/Makefile.am: don't install registry or desktop.h
4221 * libspi/*.h: update includes.
4223 * libspi/application.h: don't include ourself, or
4224 other redundant headers.
4226 2001-12-06 Michael Meeks <michael@ximian.com>
4228 * libspi/accessible.c
4229 (get_accessible_from_servant): impl.
4230 Upd. all CORBA impl.s to use it killing cut and paste.
4232 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4234 (SPI_init): register atexit cleanup handler here.
4236 2001-12-06 Michael Meeks <michael@ximian.com>
4238 * at-bridge/bridge.c (gtk_module_init): g_error on
4239 activation exception
4241 2001-12-06 Michael Meeks <michael@ximian.com>
4243 * at-bridge/bridge.c (gtk_module_init): some sort of
4244 confusing merge clash - reverted.
4245 (bridge_idle_init): ditto.
4247 * test/test-simple.c (main, utterable_normal_derefs):
4248 merge from Bill - somehow not committed.
4250 2001-12-06 Michael Meeks <michael@ximian.com>
4252 * libspi/value.c (spi_value_class_init): upd.
4253 (spi_value_finalize): kill.
4255 * libspi/table.c (spi_table_finalize): kill.
4256 (spi_table_interface_new): upd.
4257 (spi_table_class_init): upd.
4258 (get_table_from_servant): impl.
4259 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4261 * libspi/selection.c (spi_selection_finalize): kill.
4262 (spi_selection_interface_new): upd.
4263 (spi_selection_class_init): upd.
4264 (get_selection_from_servant): impl.
4265 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4267 * libspi/relation.c (spi_relation_finalize): kill.
4268 (spi_relation_class_init, spi_relation_new): upd
4270 * libspi/image.c (spi_image_finalize): kill.
4271 (spi_image_class_init): upd.
4272 (spi_image_interface_new): upd.
4273 (get_image_from_servant): impl.
4274 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4276 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4277 (spi_hyperlink_finalize): kill.
4278 (spi_hyperlink_new): upd.
4279 (get_hyperlink_from_servant): impl.
4280 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4282 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4283 (spi_hypertext_finalize): kill.
4284 (spi_hypertext_class_init): upd.
4285 (get_hypertext_from_servant): impl.
4286 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4288 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4289 (spi_editable_text_interface_new): upd.
4290 (get_editable_text_from_servant): impl.
4291 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4293 * libspi/text.c (get_text_from_servant): impl.
4294 All impls - update to use it killing more cut and paste,
4295 also fix bad string returns on duff args ( a somewhat
4296 impossible case to handle - but hey ).
4297 (spi_text_construct): impl.
4298 (spi_text_interface_new): upd.
4299 (spi_text_object_finalize): kill.
4301 * libspi/component.c
4302 (accessibility_component_object_finalize): kill.
4303 (spi_component_class_init): upd.
4304 (get_component_from_servant): impl. helper to kill cut & paste.
4305 (impl_accessibility_component_contains):
4306 (impl_accessibility_component_get_accessible_at_point):
4307 (impl_accessibility_component_get_position):
4308 (impl_accessibility_component_get_extents):
4309 (impl_accessibility_component_get_mdi_z_order):
4310 (impl_accessibility_component_get_layer):
4311 (spi_component_interface_new): upd.
4313 * libspi/action.c (spi_action_finalize): kill.
4314 (spi_action_class_init): upd. inherit from SpiObject.
4315 (spi_action_interface_new): upd.
4316 (get_action_from_servant): impl. helper to reduce cut & paste.
4317 (impl_getKeyBinding, impl_getName, impl_doAction),
4318 (impl_getDescription): Use it everywhere.
4320 * cspi/spi_main.c (get_live_refs): a pointer hash.
4321 (spi_object_hash, spi_object_equal): comment out.
4322 There are issues with CORBA object hashing that need
4325 * libspi/application.c (spi_application_init),
4326 (spi_application_new): upd.
4328 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4329 (spi_accessible_class_init): upd.
4330 s/accessible/object/ in epv methods.
4332 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4334 * at-bridge/bridge.c:
4335 Reorder the bridge initialization into the bridge gtk_module_init,
4336 an immediate call to bridge_register_app, and an idle_add for
4337 register_atk_event_listeners (the only code that *must* wait until
4338 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4339 the activation, creates the application's Accessible object, and
4340 queues the bridge_idle_init function. Restored call to
4341 Accessibility_Registry_deregisterApplication().
4342 Prior to making this call we obtain a new reference to the
4343 registry, which is a temporary hack that helps us handle apps that
4344 shut down the bonobo mainloop before we get there.
4346 * libspi/registry.c:
4347 Fix string leakage in debug block, and don't segv if a an app
4348 dies before its event notifications have been propagated.
4351 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4352 as stopgap measure until we get proper exception handling when
4353 objects die during or before interrogation.
4357 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4358 Also changed default value of is_gnome_app to TRUE.
4361 * test/keysynth-demo.c:
4362 Changed use of SPI_init and SPI_event_main to reflect API change above.
4365 Made report_focus_event check the warning value from getName
4366 before reporting on focussed accessible; simplifies handling of
4367 notifications from dead objects.
4369 * test/test-simple.c: (Changes not in this patch since source is
4372 2001-12-05 Michael Meeks <michael@ximian.com>
4374 * registryd/registryd.c (main): protect against
4375 bonobo-activation startup race condition.
4377 * cspi/spi_main.c (cspi_object_add_check): cope
4378 with the exception elegantly.
4380 * idl/Accessible.idl: decl. ChildGone
4382 * libspi/desktop.c (spi_desktop_dispose): impl.
4383 (spi_desktop_class_init): upd.
4384 (spi_desktop_add_application),
4385 (spi_desktop_remove_application),
4386 (abnormal_application_termination): impl.
4387 (impl_desktop_get_child_at_index): re-impl.
4390 (impl_accessibility_registry_deregister_application),
4391 (impl_accessibility_registry_register_application):
4392 kill excessive debug clutter.
4394 * test/test-simple.c (test_misc): test some NULL
4395 tolerance. (main): upd.
4397 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4398 implements no interfaces - so let's not crash.
4400 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4402 * libspi/accessible.c (spi_accessible_new_return): impl.
4403 helper to calm the cut and paste, to cope with
4404 NULL AtkObjects effectively and efficiently, and to kill
4405 the referencing bugs.
4407 * libspi/table.c (impl_getAccessibleAt),
4408 (impl_getRowHeader, impl_getColumnHeader): upd.
4410 * libspi/hyperlink.c (impl_getObject): upd.
4412 * libspi/accessible.c
4413 (impl_accessibility_accessible_get_child_at_index): upd.
4415 * libspi/component.c
4416 (impl_accessibility_component_get_accessible_at_point): upd.
4418 * test/test-simple.c (test_editable_text, test_text): impl.
4421 * cspi/spi_editabletext.c
4422 (AccessibleEditableText_insertText): constify.
4424 * test/test-simple.c (focus_me): make more robust.
4426 * libspi/accessible.c: remove some printfs in methods that
4427 we test and work fine, so we can get a clean tree dump.
4429 * test/test-simple.c (validate_accessible),
4430 (validate_tree): make tree dumping pretty too.
4432 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4433 it builds without debug on.
4435 * test/test-simple.c (validate_accessible): fix the most
4438 * cspi/spi_main.c (spi_object_release): leave the nicely
4439 blanked memory around if in debug mode.
4441 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4443 [committed to fixups2]
4444 2001-12-05 Michael Meeks <michael@ximian.com>
4446 * libspi/editabletext.c
4447 (spi_editable_text_class_init): g_type_class_peek_parent,
4448 not interface peek - so we finalize cleanly.
4450 * libspi/accessible.c (spi_accessible_new): kill debug.
4452 * test/test-simple.c (validate_accessible): fix ref.
4453 leak, print strings before freeing them; sigh, comment a
4454 chunk out due to strangeness.
4455 (validate_tree): unref the child after use.
4457 * cspi/spi_component.c (AccessibleComponent_getLayer):
4458 add missing break statement, switch on zlayer not the
4459 uninitialized retval.
4461 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4462 before (possibly re-entering) remote unref.
4464 * test/simple-at.c (main): unref the desktop.
4466 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4469 * cspi/spi_main.c (cspi_accessible_is_a): here to
4470 isolate bonobo API usage more.
4472 * libspi/registry.c (impl_accessibility_registry_register_application):
4473 prune bogus comment.
4475 2001-12-04 Michael Meeks <michael@ximian.com>
4477 * test/test-simple.c (validate_tree): upd.
4478 IndexInParent check to make it more lucid.
4479 (validate_accessible): dump the tree.
4481 * libspi/accessible.c (de_register_public_ref),
4482 (get_public_refs): impl.
4483 (spi_accessible_new): make more efficient & intuitive.
4484 Now IndexInParent check works.
4486 2001-12-04 Michael Meeks <michael@ximian.com>
4488 * cspi/spi-util.h: remove.
4490 * cspi/spi.h: move SPI_freeString here
4492 * libspi/component.c (impl_accessibility_component_get_layer):
4494 (impl_accessibility_component_get_mdi_z_order): ditto,
4495 return -1 on error - is this ok ?
4497 * test/test-simple.c (test_application): impl.
4499 * cspi/spi_accessible.c (Accessible_getApplication),
4500 (Accessible_isApplication): impl.
4502 * libspi/registry.c (spi_listener_struct_free): release
4503 the CORBA reference too.
4505 * libspi/accessible.c
4506 (impl_accessibility_accessible_get_parent): fix ref leak.
4508 * libspi/registry.c (spi_registry_new): make the registry
4509 immortal - we don't want it to go away ever.
4511 * libspi/application.c
4512 (spi_accessible_application_finalize): impl. cleanup.
4514 * cspi/spi_registry.c
4515 (deregisterGlobalEventListenerAll),
4516 (deregisterGlobalEventListener),
4517 (deregisterAccessibleKeystrokeListener): fix ref leak.
4519 * cspi/spi_main.c (SPI_init): remove redundant ref.
4521 * test/test-simple.c (unutterable_horror): impl. to force a
4526 (impl_accessibility_registry_deregister_application): release
4527 the application when we de-register it.
4529 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4530 until we have the infastructure to get it right.
4532 2001-12-03 Michael Meeks <michael@ximian.com>
4534 * libspi/Makefile.am: only build eventlistener.[ch]
4536 * libspi/accessible.c
4537 (impl_accessibility_accessible_get_child_at_index): don't leak.
4539 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4540 before we hit the idle handler.
4542 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4543 debugging than exit.
4545 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4547 * libspi/listener.c (impl_notify_event): check source
4548 not NIL before unref.
4550 * libspi/registry.c (impl_registry_notify_event): ditto.
4552 * libspi/eventlistener.c
4553 (impl_accessible_event_notify_event): unref the source.
4555 * libspi/accessibleeventlistener.c
4556 (impl_accessible_event_notify_event): unref the source.
4558 * idl/Event.idl: remove 'hash_id' attribute - of no
4561 * libspi/application.c (notify_listeners): upd list
4563 (spi_application_object_event_listener),
4564 (spi_application_toolkit_event_listener): upd to do correct
4568 (_registry_notify_listeners): update.
4569 (parse_event_type): this method also leaks like a sieve.
4570 (impl_accessibility_registry_deregister_global_event_listener):
4571 fix ETYPE_WINDOW case.
4573 * libspi/application.c
4574 (impl_accessibility_application_register_object_event_listener):
4577 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4579 * libspi/hypertext.c (impl_getLink): ditto.
4581 * cspi/spi_main.c (cspi_object_add): remove
4582 bogus CORBA_Object_duplicate.
4584 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4587 * cspi/spi_accessible.c
4588 (Accessible_getRelationSet): fix leak / referencing issue.
4590 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4591 (cspi_object_add, cspi_object_unref): upd.
4592 (spi_object_release, get_live_refs): impl.
4593 (cspi_cleanup): simplify.
4595 * *.[ch]: s/boolean/SpiBoolean/
4597 * cspi/spi_accessible.c (role_names): actualy order so it
4598 corresponds with the enum !
4600 * test/test-simple.c (test_roles): check some role strings
4601 vs. enums to detect offset errors.
4603 2001-12-01 Michael Meeks <michael@ximian.com>
4605 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4607 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4609 (Accessible_getChildAtIndex): use cspi_add_check so we
4610 check the ev before using a (possibly) invalid value.
4612 * libspi/accessible.c
4613 (impl_accessibility_accessible_get_parent): don't segv
4616 * at-bridge/bridge.c (gtk_module_init): upd.
4617 (bridge_property_event_listener): don't leak strings
4619 (bridge_state_event_listener),
4620 (bridge_property_event_listener): don't use a static
4621 buffer in case of recursive event emission &
4622 re-enterancy - split out the swathe of cut and paste
4624 (emit_eventv): and fix 2 ref leaks here & comply to the
4626 (bridge_register_app): rename to
4627 (bridge_idle_init): this and kill arg parsing, split
4628 various inits & bonobo-activation registration to module
4629 init time, kill referencing error.
4630 (bridge_exit_func): fix the same leak.
4631 (bridge_focus_tracker): don't leak event structures
4633 (bridge_signal_listener): more leakage and cut & paste
4635 (bridge_key_listener): return the result - FIXME is
4636 this polarity correct ?
4637 (accessibility_keystroke_from_atk_key_event): rename
4638 (accessibility_init_keystroke_from_atk_key_event): and stop
4640 (gtk_module_init): return a value - not that it is checked by
4642 (bridge_key_listener): register my horror at casting between
4643 IDL defined structs.
4644 (bridge_get_registry): kill - not used.
4646 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4648 * test/test-simple.c (test_roles): impl.
4649 (test_desktop, validate_accessible, validate_tree): impl.
4651 * cspi/spi_accessible.c (role_names): fixup bogus
4652 MAX_ROLES setup, make constants const for efficient linkage
4653 (AccessibleRole_getName): conform to coding style, make
4656 2001-11-30 Michael Meeks <michael@ximian.com>
4658 * cspi/spi.h: add missing prototype.
4660 * libspi/registry.c (spi_listener_struct_new): fix sig.
4662 * test/Makefile.am: add test-simple
4664 * test/test-simple.c: add
4666 * test/test.sh: add.
4668 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4670 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4671 do it straight - since otherwise we often get an activation race.
4673 [ work before Bill duplicated a chunk of it ... ]
4674 2001-11-30 Michael Meeks <michael@ximian.com>
4676 * libspi/keystrokelistener.c
4677 (spi_keystroke_listener_class_init): fixup arg
4680 * libspi/eventlistener.c
4681 (spi_event_listener_class_init): ditto.
4683 * tests/test.sh: add.
4685 * cspi/spi-listener-impl.h: update macros.
4687 * cspi/spi-listener-impl.c
4688 (cspi_event_listener_remove_callback): add
4689 correct pre-conditions.
4691 * cspi/spi_main.c (SPI_exit): guard vs. double
4692 exits, exit the mainloop nicely.
4693 (SPI_event_main): make more sense.
4694 (SPI_init): move the atexit evilness here so we
4695 always do it (yuck).
4696 (SPI_event_main): upd.
4698 * test/simple-at.c: update for listener changes.
4700 * registryd/registryd.c (main): prune kruft.
4702 * libspi/libspi.h: upd.
4704 * libspi/eventlistener.[ch]: rename broken macros.
4706 * libspi/accessibleeventlistener.[ch]: remove.
4708 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4710 * test/test-simple.c: Add - automated tests.
4712 * cspi/spi-listener-impl.c (cspi_event),
4713 (cspi_key_event): add user_data to invoke.
4714 (cspi_keystroke_listener_finalize): impl.
4715 (cspi_keystroke_listener_class_init): upd.
4718 (createAccessibleEventListener),
4719 (AccessibleEventListener_addCallback),
4720 (createAccessibleKeystrokeListener),
4721 (AccessibleKeystrokeListener_addCallback): upd.
4723 * libspi/deviceeventcontroller.c
4724 (spi_device_event_controller_check_key_event): add public proto.
4727 (impl_accessibility_registry_deregister_global_event_listener):
4728 always init listeners.
4729 (_registry_notify_listeners): yes it is.
4731 * cspi/spi-listener-impl.c (cspi_key_event):
4733 (cspi_event_listener_finalize): impl.
4734 (cspi_event_listener_class_init): hook up.
4735 (event_handler_new, event_handler_free),
4736 (event_list_remove_by_callback): impl.
4737 (cspi_event_listener_remove_callback),
4738 (cspi_keystroke_listener_remove_callback),
4739 (cspi_keystroke_listener_add_callback),
4740 (cspi_event_listener_add_callback): upd.
4742 * libspi/keystrokelistener.c
4743 (keystroke_listener_object_finalize): kill
4744 (spi_keystroke_listener_class_init): upd.
4745 (spi_keystroke_listener_add_callback),
4746 (spi_keystroke_listener_remove_callback): kill,
4748 (impl_key_event): prune drasticaly.
4750 * libspi/eventlistener.c
4751 (spi_event_listener_add_callback),
4752 (spi_event_listener_remove_callback): kill, use
4754 (impl_accessible_event_notify_event): upd.
4755 (spi_event_listener_object_finalize): remove.
4757 * libspi/Makefile.am: use eventlistener.[ch]
4759 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4761 * libspi/registry.c (_registry_notify_listeners):
4762 Changed listener loop iteration to use preferred convention.
4763 Got rid of string memory leaks caused be calling g_strconcat
4764 inside function calls.
4766 * libspi/registry.c (parse_event_type):
4767 Stopped g_strconcat memory leaks, free the g_strsplit return,
4768 g_strdup the split pieces when used, etc.
4770 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4773 Change method 'compare' to return a 'difference set' rather than
4774 taking a StateSet as an out parameter (more Java-friendly).
4776 * idl/Accessible.idl:
4777 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4779 * idl/Component.idl:
4781 Changed methods 'getExtents' and 'getImageExtents' in these
4782 interfaces to return a BoundingBox structure.
4783 (getPosition and getSize are redundant and possibly should be
4784 removed, rather than creating a corresponding Point struct.)
4786 * cspi/spi_component.c:
4787 Modify implementation of getExtents to reflect the above IDL
4792 Add (missing) AccessibleImage_getExtents () API.
4794 * docs/reference/cspi/at-spi-cspi-sections.txt:
4795 Added AccessibleImage_getImageExtents () to docs.
4797 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4799 * idl/Component.idl:
4800 Added two methods, getLayer () and getMDIZOrder (), to reflect
4801 the new ATK methods atk_object_get_layer and
4802 atk_object_get_mdi_z_order. (Which arguably should be part of the
4803 AtkComponent API and AtkObject). Also added an enum,
4804 ComponentLayer, for the first method's return value.
4806 * libspi/component.c:
4807 Added implementations for these methods.
4809 * cspi/spi_component.c:
4811 Added cspi binding methods for above,
4812 AccessibleComponent_getLayer() and
4813 AccessibleComponent_getMDIZOrder().
4814 Added cspi enum 'AccessibleComponentLayer'.
4816 * docs/reference/cspi/at-spi-cspi-sections.txt:
4817 Added above methods to docs.
4821 Changed typedef for 'boolean' type (and all references to it) to
4822 SPIBoolean, to avoid keyword clashes with C++.
4825 Changed usages of 'boolean' to SPIBoolean.
4827 * test/keysynth-demo.c:
4828 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4829 app), except where SPIBoolean is required by the callbacks API.
4831 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4833 * cspi/spi_registry.c:
4834 Removed obsolete X event loop for passive keygrabs (which now
4837 * registryd/registryd.c:
4838 Removed unnecessary call to gdk_init() [cruft]. This also allows
4839 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4842 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4844 * docs/reference/cspi:
4845 Included docs for SPI_freeString in generated documentation.
4848 Renamed spi_freeString to SPI_freeString, for consistency. Added
4849 documentation for this function.
4852 Renamed spi_freeString to SPI_freeString, for consistency.
4853 Removed obsolete method declaration string_from_corba_string.
4855 * test/keysynth-demo.c:
4856 Small tweak to comments.
4859 Stopped leaking the strings returned from CSPI.
4861 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4863 Merged Michael's branch (see his ChangeLog entries below).
4865 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4866 bridge is alive, release on exit.
4868 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4869 Fix type check macro.
4872 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4875 Added is_gnome_app static, and method cspi_is_gnome_app(),
4876 so we can call the appropriate shutdown routine at exit in SPI_exit.
4878 * cspi/spi_main.c (cspi_object_ref):
4879 Duplicate the corba object passed in, since we're keeping it around.
4881 * cspi/SPI_exit.c, cspi_cleanup:
4882 Moved the releasing of the live refs to its own function, so we
4883 can put it in g_atexit (). Call the appropriate shutdown API
4884 depending on whethe calling client is a gnome app or not
4885 (bonobo_main_quit or CORBA_ORB_shutdown).
4887 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4888 Unref the listener when this method is called, after
4889 deregistration. Updated the API docs to note this behavior.
4891 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4892 Bugfixes: Ref the bonobo object when returning a parent or child
4893 reference, or an AccessibleRelation. Generally made sure
4894 BonoboObject refcount is incremented whenever we return an
4897 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4898 Fixed typo/bug in signal declaration.
4900 * libspi/accessibleeventlistener.h:
4903 * libspi/application.c (spi_application_new):
4904 Fixed leak in initialization.
4907 Remembered to increment bonobo-object refcount when returning
4908 children (applications) from desktop object.
4909 Added (empty) finalize method.
4911 * libspi/deviceeventcontroller.c:
4912 Hold a ref to listeners inside DEControllerKeyListeners.
4913 Added dec_key_listener_free() method. Use prepend instead of
4914 append in key_listener list. Fixed some refcount madness and
4915 leaks in the listener registration/deregistration - deregistration
4916 now calls dec_key_listener_free() on listeners, and on the
4917 temporarily constructed dec_key_listener() used to perform the search/match.
4919 * libspi/hypertext.c (spi_hypertest_finalize):
4920 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4921 class. Also fixed spi_hypertext_interface_new() and
4922 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4924 * libspi/hypertext.h:
4925 Removed pointless and duplicate AtkObject pointer from
4928 * libspi/keystrokelistener.c:
4929 Fixed incorrect type of keystroke_listener_parent_class,
4930 renamed keystroke_listener_object_finalize to
4931 spi_keystroke_listener_object_finalize.
4932 Fixed typo in signal declaration
4933 (spi_keystroke_listener_class_init).
4935 * libspi/registry.c:
4936 Added funcsions spi_listener_struct_new() and
4937 spi_listener_struct_free() to help with memory management issues.
4938 We also now use these methods instead of gnew + poking stuff into
4939 the struct, and to decrement listener counts/free the listeners
4940 when deregistering them.
4941 Fix more refcount bugs in getDesktop() and
4942 getDeviceEventController().
4945 De-ref the desktop after enumerating the applications. Explicitly
4946 decrement the refcounts on the created listeners on exit (using
4947 _unref for keystroke listeners, and via the
4948 deregisterGlobalEventListenerAll command for other event
4951 2001-11-27 Michael Meeks <michael@ximian.com>
4953 * cspi/spi-listener.h: fixup enum.
4955 2001-11-27 Michael Meeks <michael@ximian.com>
4957 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4958 (cspi_keystroke_listener_new): Use the cspi variants.
4960 2001-11-26 Michael Meeks <michael@ximian.com>
4962 * test/keysynth-demo.c: fix 2 compile warnings, missing
4965 * test/simple-at.c (report_focussed_accessible),
4966 (report_focus_event, report_button_press),
4967 (check_property_change, is_command_key),
4968 (report_ordinary_key_event, report_command_key_event): upd.
4970 * util/mag_client.h: include pre-requisites.
4972 * libspi/accessibleeventlistener.c
4973 (spi_event_listener_object_finalize): free any lingering
4976 * libspi/keystrokelistener.c
4977 (keystroke_listener_object_finalize): ditto.
4979 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4980 callbacks, with cspi types.
4982 * cspi/spi_event.c (createAccessibleEventListener): chain to
4983 (AccessibleEventListener_addCallback): here.
4984 (createAccessibleKeystrokeListener): chain to
4985 (AccessibleKeystrokeListener_addCallback): here.
4987 * libspi/keystrokelistener.c
4988 (spi_keystroke_listener_class_init): add signal.
4989 (impl_key_event): emit the event.
4990 (boolean_handled_accumulator): impl.
4991 (marshal_BOOLEAN__POINTER): add, gack.
4993 * libspi/accessibleeventlistener.c
4994 (spi_event_listener_class_init): add signal.
4995 (impl_accessible_event_notify_event): emit the signal &
4996 make the loop efficient.
4997 (spi_event_listener_add_callback): prepend the callback.
4999 * libspi/accessibleeventlistener.h: add an 'event' signal,
5000 decl type on callback.
5002 * libspi/keystrokelistener.h: ditto.
5004 * cspi/spi-listener.h: make methods typesafe and
5005 make them use the new event typedefs.
5007 * test/simple-at.c (report_focussed_accessible):
5008 include mag_client.h
5009 Use *(void *)text_interface not the other thing.
5011 * configure.in: add gtk to registryd bits - since we use
5014 * util/magnifier.c: include libbonobo.h
5016 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5018 * test/keysynth-demo.c:
5019 Turned this into a simple scanning keyboard, to demonstrate the
5020 use of g_timeout_add () as a means of creating timers for
5021 scanning, and the use of GtkStyle for visually indicating when
5022 virtual keyboard elements are selected.
5024 keysynth-demo now listens to any keyboard keys with zero-valued
5025 keycodes (i.e. 'unused' keys) and interprets them as
5028 Reworked the shiftlatch code so that shift-down state isn't held
5029 for long periods (it's only synthesized immediately prior to
5030 the keysynth event it's modifying). Note that shiftlatch in this
5031 demo is a convenience, not intended to take the place of AccessX
5032 which is the better choice for getting 'sticky' modifier keys.
5034 * libspi/deviceeventcontroller.c:
5035 * at-bridge/bridge.c:
5036 * cspi/spi_registry.c:
5037 Removed some debug print stuff, and put other verbosity in #ifdef
5042 Implemented some more of the magnifier IDL for the simple
5043 magnifier: namely, getZoomRegionParams.
5044 Added mag_x and mag_y members to MagnifierData struct, aid of this
5046 Added GtkWindow::realize signal handler to magnifier, to keep it
5047 from receiving keyboard focus from the WM.
5049 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5051 * cspi/spi-private.h: my guess at what michael forgot
5052 before he ran off to NZ :-)
5054 2001-11-23 Michael Meeks <michael@ximian.com>
5056 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5057 comment out non existant method invoke so we link.
5059 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5060 use bonobo_exception_get_text for more friendly warnings.
5062 * cspi/spi.c (Obj_Add): move into spi_main & rename
5063 spi_object_add; kill spi.c
5065 * cspi/spi_registry.c
5066 (deregisterGlobalEventListener),
5067 (deregisterGlobalEventListenerAll),
5068 (registerGlobalEventListener): fix exception leaks.
5070 * cspi/spi_main.c (spi_exception): impl. helper, so we
5071 don't leak exceptions.
5073 * cspi/spi_selection.c
5074 (AccessibleSelection_deselectSelectedChild): return the
5077 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5078 (spi_registry): ditto.
5079 (SPI_init): guard against double inits.
5081 * cspi/*.c: use spi_ev (), and spi_registry () where
5082 appropriate - a temporary hack until we have something
5083 better. Use spi_object_add
5085 2001-11-22 Michael Meeks <michael@ximian.com>
5087 * cspi/Makefile.am: re organise, install the headers.
5089 * cspi/*.h: add G_BEGIN/END_DECLS
5091 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5094 Added non-preemptive keylistener for key events with no modifiers
5095 and shift-only modifier.
5097 * libspi/keystrokelistener.c:
5098 Removed some verbose diagnostics printout.
5100 * cspi/spi_registry.c:
5101 Fixed a bug that caused all key listeners to be registered as
5104 * libspi/deviceeventcontroller.c:
5105 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5106 for non-preemptive key masks.
5109 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5111 * docs/reference/idl/at-spi-idl-docs.sgml:
5112 * docs/reference/idl/at-spi-idl-sections.txt:
5113 * docs/reference/idl/at-spi-idl-overrides.txt:
5114 Added missing files.
5116 * docs/reference/Makefile.am:
5117 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5118 to scan the IDL files :-(
5123 Added .cvsignore files.
5125 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5127 * libspi/deviceeventcontroller.c:
5128 * libspi/keystrokelistener.c:
5130 * cspi/spi_registry.c:
5131 Added filters for KeySets, KeyEventSeq, and event types to key
5132 event dispatching, so listeners should only receive those events
5133 that they requested :-)
5135 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5140 * docs/reference:Makefile.am:
5141 * docs/reference/cspi:
5142 * docs/reference/cspi:Makefile.am:
5143 * docs/reference/cspi:tmpl:
5144 * docs/reference/cspi:tmpl:*.sgml:
5145 * docs/reference/idl:
5146 * docs/reference/idl:Makefile.am:
5147 * docs/reference/idl:at-spi-idl-sections.txt:
5148 * docs/reference/idl:at-spi-idl-docs.sgml:
5149 * docs/reference/idl:tmpl:
5150 * docs/reference/idl:tmpl:*.sgml:
5152 Restructured docs directory to allow separate 'reference' docs
5153 section, and forked idl and cspi docs. Added the sgml template
5154 files to CVS. Added the first sections/structural sgml for the
5157 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5159 * configure.in, libspi/Makefile.am: find libXtst.
5161 2001-11-21 Michael Meeks <michael@ximian.com>
5163 * test/accessx-gui.c: s/spi_value/value/ - doh.
5165 * libspi/base.[ch]: add.
5167 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5169 * idl/Accessible.idl:
5170 * idl/Application.idl:
5173 Started gtk-doc cleanup on IDL.
5175 * libspi/deviceeventcontroller.c:
5176 Added and connected non-preemptive key notification from the
5177 toolkits (in addition to the pre-emptive support from XServer
5178 which we had before, but which causes 'focus flashing'). Filters
5179 are presently limited to key modifiers and global/non-global,
5180 KeySets are presently ignored, as are KeyEvent masks.
5182 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5183 structs into the persistant structure rather than just storing
5184 pointers to things that might not persist across servant
5187 The XGrabKey call now does async keygrabs, because synchronous
5188 ones were deadlocking with GDK_event code in a very nasty way.
5190 Added boolean to internal method notify_keylisteners, to indicate
5191 whether the event came from the 'toolkit source' or the 'global
5192 (XServer) source' - this is used in the notification process to
5193 determine which listeners to send the event to.
5195 deviceeventcontroller.c is now warning-free.
5197 * libspi/registry.c:
5198 Fixed regression in application de-registration.
5199 Also fixed some really brain-dead weirdness having to do with
5200 event dispatching - event structs are now duplicated before being
5201 re-marshalled in the dispatch to listeners. This also fixes a
5202 Solaris build problem.
5205 2001-11-20 Michael Meeks <michael@ximian.com>
5208 (impl_accessibility_registry_deregister_global_event_listener):
5211 * libspi/deviceeventcontroller.c
5212 (spi_device_event_controller_check_key_event): return
5213 FALSE on no virtual method.
5215 * libspi/*..h: make includes work on a correctly pathed install.
5217 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5219 * libspi/application.h: kill unused ( and whacked out )
5220 gboolean *spi_application_set_id (AtkObject *app, long id);
5222 2001-11-20 Michael Meeks <michael@ximian.com>
5224 * libspi/*.[ch]: further convert to bonobo's type func
5225 macros, remove redundnant casts etc.
5227 * libspi/text.c s/accessibility_text/spi_text/g,
5228 re-order to de-cruft.
5230 * libspi/hypertext.c: re-order to kill a huge slew
5231 of redundant forward decls.
5233 * libspi/relation.c: ditto.
5235 * libspi/image.c: ditto.
5237 * */.cvsignore: update
5239 2001-11-20 Michael Meeks <michael@ximian.com>
5241 * libspi/deviceeventcontroller.c
5242 (_controller_register_with_devices): use g_getenv,
5243 kill stdlib.h include.
5245 * libspi/keystrokelistener.c
5246 (spi_keystroke_listener_get_type): kill
5247 (spi_keystroke_listener_class_init),
5248 (spi_keystroke_listener_init): rename to this.
5250 * libspi/text.c (impl_getAttributes): fix warning / bug.
5252 * libspi/*.[ch]: more headers, includes and over commenting.
5254 2001-11-20 Michael Meeks <michael@ximian.com>
5256 * libspi/*.[ch]: fixup headers, includes and over commenting.
5258 * libspi/image.c (impl__get_imageDescription): const
5259 correctness warning fix. remove redundant casting.
5261 * libspi/table.c (impl_getRowDescription): ditto.
5262 (impl_getColumnDescription): ditto.
5264 * libspi/libspi.h: add.
5266 2001-11-19 Michael Meeks <michael@ximian.com>
5268 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5270 * libspi/component.c (accessibility_component_get_type):
5271 rename to (spi_component_get_type): and macroify.
5272 (accessibility_component_init): rename to
5273 (spi_component_init): this
5274 (accessibility_component_class_init): rename to
5275 (spi_component_class_init): this
5277 * libspi/action.c (spi_action_get_type): kill, use the macro.
5279 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5282 * libspi/application.c (spi_application_object_event_listener),
5283 (impl_accessibility_application_register_object_event_listener):
5284 warning fixes / const understanding updates.
5286 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5289 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5291 * libspi/spi_accessible.c: Added docs and C bindings for
5292 AccessibleStateSet. (No implementations yet). Documentation
5293 coverage for C bindings now 100%. Made docs for event listeners
5298 boolean notifyListenersSync (in DeviceEventListener listener,
5299 in DeviceEvent event);
5301 oneway void notifyListenersAsync (in DeviceEventListener listener,
5302 in DeviceEvent event);
5304 Added DeviceEventListener and DeviceEvent structs (may deprecate
5305 KeyStroke and KeystrokeListener in favor of this generic
5306 event/listener framework for devices).
5308 * libspi/deviceeventcontroller.c:
5310 Changed some key listener code to take masks, etc., and paved the
5311 way for integration of toolkit/non-preemptive key events. Changed
5312 signatures of some internal methods.
5314 * at-bridge/bridge.c:
5315 Fixed regression connecting to interface signals, apparently
5316 caused by GTK+ changes.
5318 Added an internal bridge_state_listener to deal with
5319 property-change:accessible-state signals.
5321 Changed the key_listeners GList to store structs (including masks,
5322 etc.) instead of just CORBA_Objects (required for full
5323 implementation of key listener API).
5325 Connected the bridge to all currently supported Atk signals.
5326 Events now supported:
5327 object:property-change
5328 object:property-change:accessible-name
5329 object:property-change:accessible-state
5330 object:property-change:accessible-description
5331 object:property-change:accessible-parent
5332 object:property-change:accessible-value
5333 object:property-change:accessible-role
5334 object:property-change:accessible-table-caption
5335 object:property-change:accessible-table-column-description
5336 object:property-change:accessible-table-column-header
5337 object:property-change:accessible-table-row-description
5338 object:property-change:accessible-table-row-header
5339 object:property-change:accessible-table-summary
5340 object:children-changed
5341 object:visible-data-changed
5342 object:selection-changed
5343 object:text-selection-changed
5345 object:text-caret-moved
5347 object:row-reordered
5349 object:column-inserted
5350 object:column-reordered
5351 object:column-deleted
5352 object:model-changed
5354 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5356 * libspi/hyperlink.c,h:
5357 Fixed some broken stuff in hyperlink.
5359 * libspi/relation.h:
5360 * libspi/relation.c:
5361 * cspi/spi_accessible.c:
5362 Initial implementations of AccessibleRelation methods, and docs.
5364 * libspi/accessible.c:
5365 Fixed a bug that caused SEGV if an accessible
5366 object's description is NULL, and a client
5367 requests it. An empty string is now returned.
5369 * cspi/spi_editabletext.c:
5370 * cspi/spi_hypertext.c:
5372 * cspi/spi_hyperlink.c:
5376 Doc coverage now 95%.
5378 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5380 One last namespacing revision:
5381 * libspi/accessibleeventlistener.[ch]:
5382 Renamed SpiAccessibleEventListener to SpiEventListener,
5383 (no need for two namespaces ;-)
5385 And lots of documentation fixes:
5387 * docs/at-spi-docs.sgml:
5388 Fixed 'underscore vs. hyphen' bug that was preventing
5389 the gtk-doc API docs from being automatically generated.
5392 * cspi/spi-listener.h
5394 * cspi/spi_accessible.c
5396 * cspi/spi_application.c
5397 * cspi/spi_component.c
5398 * cspi/spi_editabletext.c
5400 * cspi/spi_hypertext.c
5402 * cspi/spi_registry.c
5403 * cspi/spi_selection.c
5407 * docs/at-spi-docs.sgml
5408 * docs/at-spi-sections.txt
5410 Added and fixed up gtk-doc documentation in cspi.
5412 Interfaces now (fully) documented (subject to revision and enhancement):
5414 Event Listener Support
5416 AccessibleApplication
5420 AccessibleEditableText
5427 AccessibleRelationSet
5432 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5434 * at-bridge/bridge.c:
5435 Initial work for toolkit-level key snooper connection by bridge.
5440 New typedefs and fixes to support new namespacing, and cleaner
5441 separation of cspi bindings from libspi bonobo implementation.
5442 Removed inconsistent and extraneous Spi* namespace prefix that
5443 had crept into cspi headers.
5444 Lots of comment fixes that sed had missed.
5446 * cspi/spi-roletypes.h:
5447 * cspi/spi-statetypes.h:
5448 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5449 to AccessibleRoleType.
5451 * libspi/accessibleeventlistener.h:
5452 Fixed minor namespacing weirdness.
5454 * libspi/deviceeventcontroller.c:
5455 Reordered some internal API for device listeners.
5456 Changed the key registry final boolean to 'is_system_global'
5457 rather than 'is_synchronous', which is more descriptive of its
5459 Added spi_device_event_controller_new().
5460 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5462 * libspi/keystrokelistener.[ch]:
5463 Namespaced KeystrokeListener to SpiKeystrokeListener.
5464 Changed uses of keymasks to use SPI_ prefix, and did other
5467 * libspi/keymasks.h:
5468 Namespaced keymask constants with SPI_ prefix.
5470 * libspi/registry.c:
5471 Some warning fixes, and knock-on fixes from namespace changes.
5474 Added rules for accessx-gui test program.
5476 * test/accessx-gui.c:
5477 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5478 utility. It doesn't actually use at-spi, but it's still cool and
5481 * test/keysynth-demo.c:
5485 Fixes so that these test clients work properly with the namespaced
5486 libraries. (Incompletely tested for technical reasons, fixes may follow)
5489 2001-11-13 Michael Meeks <michael@ximian.com>
5491 * libspi/application.c
5492 (impl_accessibility_application_get_version),
5493 (impl_accessibility_application_get_toolkit_name):
5495 (impl_accessibility_application_set_id),
5496 (impl_accessibility_application_get_id): remove
5497 redundant casting code.
5499 * libspi/action.c (impl_getDescription): fix warnings.
5501 * libspi/accessible.c
5502 (impl_accessibility_accessible_get_parent),
5503 (impl_accessibility_accessible_get_child_at_index),
5504 (impl_accessibility_accessible_get_state),
5505 (impl_accessibility_accessible_get_relation_set):
5506 warning fixes & include action.h
5508 2001-11-13 Michael Meeks <michael@ximian.com>
5510 * *.[ch] fix bits I screwed up:
5512 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5513 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5515 2001-11-13 Michael Meeks <michael@ximian.com>
5517 * *.[ch] Namespace libspi into spi_ and Spi.
5519 2001-13-11 Michael Meeks <michael@ximian.com>
5521 * Makefile.am: dist & install at-spi-1.0.pc
5523 * libspi/Makefile.am: install into at-spi-1.0
5525 * idl/Makefile.am (idldir): install into at-spi-1.0
5527 * at-spi-1.0.pc.in: add.
5529 * configure.in: build it.
5531 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5533 * test/keysynth-demo.c:
5534 Use a 'realize' signal-handler to set the WM properties for
5535 the virtual keyboard, rather than making it a "POPUP" type
5536 override-redirect window (thanks to anders carlsson for that
5539 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5542 * test/keysynth-demo.c:
5543 Added new test of key synthesis, which creates a simple
5544 (mouse-operated) onscreen keyboard. It inserts key events into
5545 the currently-focused window, thus it does not grab keyboard focus
5548 * cspi/spi_registry.c:
5549 Added C binding for AT-SPI generateKeyEvent.
5551 * libspi/deviceeventcontroller.c:
5552 Added call to XFilterEvent so that key listener works with XIM (we
5553 hope). Added event_synth_type to generateKeyEvent, so that we can
5554 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5555 synthesize a press/release pair for KeySyms.
5557 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5559 * libspi/Makefile.am:
5560 * registryd/Makefile.am:
5561 (temporary) hack to include libXtst in libspi and registryd.
5562 (Needed for keystroke synthesis, see below).
5565 Improved API for registerKeystrokeListener, in accordance with
5566 discussions with Gnopernicus team and X server research.
5568 * libspi/registry.c:
5569 * libspi/deviceeventcontroller.c:
5570 * libspi/accessible.c:
5571 * libspi/keystrokelistener.c:
5572 Changes and fixes to support keylisteners for potentially
5573 consumed key events (that is, 'passive grabs').
5574 Added implementation for generateKeyEvent() [untested].
5577 Changes to registerKeystrokeListener() API, as above.
5578 Added deregisterGlobalEventListenerAll(), and
5579 deregisterKeystrokeListener(), which are needed for clean exit of
5581 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5582 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5584 * cspi/spi_registry.c:
5585 Added implementations of function prototypes mentioned above.
5587 * registryd/registryd.c:
5588 Added the key listener event source as a g_timeout(), to allow
5589 receipt of key events that are not caught by GDK (since GDK
5590 doesn't support passive keygrabs, this was necessary).
5593 Changed to attach a keylistener to 'Alt' keys, and
5594 respond to the following keycommands: Alt-M (toggle magnifier);
5595 Alt-F (toggle speech); Alt-Q (quit).
5596 Added an exit routine to deregister the listeners, and a key
5597 listener that prints some key info to the console when a key
5598 matches the listener mask (and is thus received by the listener).
5600 * util/idl/Magnifier.idl:
5601 Changes to magnifier API to support multiple zoom regions,
5602 non-uniform scaling in x and y, markDirty, and a host of other
5603 features that would be useful to magnification.
5606 * util/mag_client.c:
5607 * util/mag_client.h:
5608 * util/mag_control.c:
5610 Source code changes to support the above IDL changes.
5613 As above, and also changes to use a (slower) generic conversion
5614 path for colormap conversions, since the fast RGB conversions have been
5615 reported to fail for 16-bit displays.
5617 2001-10-26 Michael Meeks <michael@ximian.com>
5619 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5621 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5623 * at-bridge/Makefile.am: fix LDFLAGS.
5625 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5627 * at-bridge/bridge.c:
5628 Re-worked listeners for toolkit events, now we have signal
5629 and property listeners. Added a private method
5630 register_atk_event_listeners(), which registers with the
5631 various atk and gtk signals we need to monitor in order to emit
5633 Added emission hook for AtkObject:property-change events, to
5634 support the 'property listeners'.
5635 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5638 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5639 which emit warnings and exit, respectively, if CORBA errors occur
5640 during remote calls, and we now use these methods to check most of
5641 our CORBA calls in the C bindings.
5643 * cspi/spi_accessible.c:
5644 Changed AccessibleSelection_refSelectedChild() to
5645 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5646 now increment refcounts.
5648 * cspi/spi_component.c:
5649 Fixed some long pointer casts (dangerous!) to pass pointers to
5650 CORBA_longs of the proper type to the CORBA stubs, and copy the
5651 data into the longs that were passed into the C bindings code.
5653 * at-bridge/bridge.c:
5655 * libspi/accessible.c:
5656 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5657 hyperlinks, AtkHyperlink is an object type.
5659 * libspi/application.c:
5660 Added various conversions to and from "generic" event types and
5661 atk-specific types; this is really part of the 'bridge'
5662 implementation but is valid for all AtkObject-based accessibility
5665 * libspi/editabletext.c:
5666 Fixed nasty bug wherein editable text's finalize method was
5667 unref'ing tha AtkObject reference that the text parent class was
5668 about to unref _again_. There was also a nasty inheritance bug
5669 that meant that the AccessibleEditableText class was corrupt.
5671 * libspi/selection.c:
5672 Provided implementations for some selection API that was broken.
5674 * idl/Application.idl:
5675 Added registerObjectEventListener () method.
5678 Fixed a number of return values that were Bonobo_Unknowns from
5679 bonobo_object_corba_objref(), which I
5680 forgot to dup before returning. Changed instances of
5681 bonobo_object_corba_objref (bonobo_object(o)) to
5682 BONOBO_OBJREF(o), for concision and clarity.
5684 2001-10-13 Louise Miller <louise.miller@sun.com>
5686 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5687 idl/Event.idl, idl/Registry.idl
5688 Changed these files to include Bonobo_Unknown.idl instead
5691 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5693 * libspi/component.c libspi/component.h:
5694 Fixed typo. Added assertions for object checks in
5695 AccessibleComponent code.
5697 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5699 * idl/Accessible.idl:
5700 Added 'isEqual (Accessible *object)'
5701 method for Accessible. (Not Yet Implemented).
5704 Changed signature of registerKeystrokeListener() to
5705 take a KeySet and KeyEventSeq so that specific keys and event
5706 types could be requested for monitoring, and added a flag
5707 is_synchronous so that either synchronous or asynchronous
5708 notification could be requested. (However this is not all
5709 implemented yet). This also meant adding two new typedefs,
5710 KeyEventSeq and KeySet.
5713 Added two new relations, RELATION_TOOLTIP_FOR and
5714 RELATION_LEAFNODE_OF.
5717 Added new state, STATE_HAS_TOOLTIP.
5719 * libspi/text.c, editabletext.c:
5720 Added new assertions to all casts of bonobo-objects from
5721 CORBA servants, to prevent Text API calls on non-text objects.
5722 Changed suspect casts of int-pointer types, so that we
5723 always send a valid CORBA_long pointer to the CORBA APIs that use
5724 in/out long parameters. We then have to copy from the CORBA_long
5725 into the regular long or int for return to the C bindings, or
5726 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5729 * libspi/deviceeventcontroller.c:
5730 Cleaned these sources up.
5732 Changed return type for getCharacterAtOffset to
5733 CORBA_unsigned_long, to allow for 32-bit characters.
5736 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5740 Fixed 'make dist' so that distro compiles...
5741 * libspi/keymasks.h:
5743 * cspi/spi-listener.c:
5744 KeystrokeListenerCB now returns a boolean.
5746 Added KeyEventType struct, and KeyStroke.
5747 Also added createKeystrokeListener(),
5748 KeystrokeListener_addCallback(),
5749 KeystrokeListener_removeCallback(), and added a keymask to
5750 registerKeystrokeListener().
5751 * cspi/spi_accessible.c:
5752 Changed numerous return types for interfaces from
5753 AccessibleComponent to Accessible<InterfaceName>; this was
5754 probably a cut-and-paste error.
5756 Implementations of new KeystrokeListener api (from spi.h,
5759 Changes to key modifier mapping.
5760 Created ControllerEventMask struct.
5761 Made DeviceEventController derive from Bonobo::Unknown.
5763 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5764 * libspi/deviceeventcontroller.c:
5765 Added a number of new internal (private) methods.
5766 * libspi/editabletext.c:
5767 * libspi/editabletext.h:
5768 Fixed a number of bugs related to the fact that
5769 editabletext inherits from text. Fixed the EditableText struct,
5770 the init() call, and use correct casts when calling Text methods
5771 from an EditableText object. Removed (duplicate) atko from the
5772 EditableText structure, we use the one in the parent Text
5773 structure via the casts mentioned above.
5774 * libspi/keystrokelistener.[ch]:
5775 * libspi/registry.c:
5776 Changes in support of keyboard handling (above).
5778 Keyboard handling, though partly functional, is still not
5779 recommended for at-spi client use as there is considerable
5780 work yet to be done.
5783 Changed some places where pointers to various int types
5784 are cast to be pointers to CORBA_long types and vice-versa:
5785 pointer casting is not safe so we pass pointers of the correct
5786 types and then cast the result before putting it into the target
5789 * libspi/text.h: minor typos corrected.
5791 We now speak not only the name of a Text element, but the
5792 first sentence of its content, when it receives focus.
5793 I also changed the text compression to 75% from 50%.
5794 * util/Accessibility_Util.server.in:
5795 Changed the default magnifier type to be a 3x vertical
5796 splitscreen magnifier (was previously a 2x horizontal one).
5798 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5800 * libspi/keystrokelistener.h:
5801 * libspi/keystrokelistener.c:
5802 Initial functional implementations of KeystrokeListener.
5805 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5807 Fixed string handling for NULL strings in libspi.
5808 Added spi_freeString to free strings returned by C bindings.
5810 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5812 * libspi/keystrokelistener.h:
5813 * libspi/keystrokelistener.c:
5814 Began (no-op) implementations of KeystrokeListener
5816 * libspi/deviceeventcontroller.c:
5817 * libspi/deviceeventcontroller.h:
5818 Began creating implementations of DeviceEventController,
5819 to handle keystroke and mouse event listening and
5821 * libspi/accessible.c:
5822 Stubbed-in the implementations for
5823 Accessibility_Accessible_getState and
5824 Accessibility_Accessible_getRelationSet.
5825 * libspi/registry.c:
5826 Improved de-registration process and fixed some bugs,
5827 deregistration now works correctly.
5829 Added initialization of applications list (to NULL).
5831 Reduced speech compression from 0.5 to 0.7, for demo.
5832 Changed call to gdk_window_set_decorations()
5833 to gtk_window_set_decorated().
5834 * at-bridge/bridge.c:
5835 Bridge now deregisters when app exits, via
5836 registration of a cleanup function
5837 with the g_atexit() call.
5838 Required making 'app' static, renamed 'this_app'.
5839 Fixed broken use of bonobo_init, passing argv wrongly.
5841 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5845 Created a new directory for
5846 accessibility-related utilities, primarily for
5847 testing and demo purposes, but with possible
5854 Onscreen magnifier utility that
5855 is implemented as a bonobo service.
5857 * util/mag_client.c:
5858 * util/mag_client.h:
5859 Client-side support (simple C bindings)
5860 for Magnification service
5862 * util/mag_control.c:
5863 Client program example for
5864 Magnification service
5866 * util/Accessibility_Magnifier.server.in:
5867 Bonobo-activation file for the
5868 Magnification service.
5871 * util/idl/Magnifier.idl:
5872 IDL defining the bonobo Magnification
5876 Modifications to use the bonobo-activated magnifier
5877 above, in place of trying to connect to an existing
5878 magnifier that uses socket-listening IPC.
5880 If env variable MAGNIFIER is set, a magnifier service
5881 will be started if one does not exist.
5883 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5885 * at-bridge/bridge.c:
5886 applied patch from Marc to build and run
5887 against new glib and gtk+ (seemed like a change
5888 to bonobo_init signature was made ?)
5890 made festival-server support turned off by default.
5891 Added support for a simple magnifier (off by default)
5892 which will be added to a 'util' directory later.
5893 * at-bridge/Makefile.am:
5894 Changed "application.h" header from a 'source'
5895 to a 'dependency' of libat-bridge.
5897 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5906 Added interface implementation c files to list of
5907 includes so they are included in libcspi.
5910 Changed prototype of AccessibleAction_doAction to return a
5912 Changed prototype of AccessibleTable_getCaption to
5913 return an Accessible.
5914 Changed prototype of AccessibleTable_getSelectedRows
5915 and AccessibleTable_getSelectedColumns to
5916 return a long (returns the number of selected rows
5917 or columns respectively).
5918 Changed name of AccessibleText_refRunAttributes to
5919 AccessibleText_getAttributes.
5920 Changed prototype of AccessibleText_getCharacterExtents to
5921 return a void rather than a boolean.
5922 Added support for a AccessibleCoordType parameter
5923 specifying what type of coordinates are desired.
5924 Added an AccessibleCordType parameter to
5925 AccessibleText_getPointAtOffset.
5927 * cspi/spi_accessible.c:
5928 Added code to return the outstanding interfaces from
5929 Accessible_queryInterface.
5931 * cspi/spi_action.c:
5933 Corrected call to getNActions to call the c binding
5936 * cspi/spi_editabletext.c:
5938 Changed name from setRunAttributes to setAttributes.
5940 * cspi/spi_hyperlink.c:
5942 Changed call to getNAnchors to correctly call the c
5943 binding for an attribute.
5945 * cspi/spi_hypertext.c:
5947 Changed getImageDescription to correctly call the
5948 binding for an attribute.
5950 * cspi/spi_selection.c:
5951 Changed getNSelectedChildren to correctly call the c
5952 binding for the attribute.
5953 Changed refSelectedChild to getSelectedChild.
5957 Changed getCaption to return an Accessible.
5958 Fixed calls which retrieve attributes.
5959 Changed refAt to getAccessibleAt.
5960 Changed getNSelectedRows and getNSelectedColumns to
5964 Changed getCharacterExtents and getPointAtOffset to accept an
5965 AccessibleCoordType.
5967 Changed calls which retrieve attributes.
5968 Changed refRunAttributes to getAttributes.
5973 * idl/Hyperlink.idl:
5974 Changed n_anchors attribute to nAnchors to keep naming
5975 convention consistent.
5978 Made Table inherit from Bonobo::Unknown.
5979 Added nSelectedColumns and nSelectedRows attributes.
5982 Made Value inherit from Bonobo::Unknown.
5984 * libspi/hyperlink.c:
5985 Change for nAnchors attributte name change.
5987 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5995 Added interface implementation c files to list of
5996 includes so they are included in libcspi.
5999 Changed prototype of AccessibleAction_doAction to return a
6001 Changed prototype of AccessibleTable_getCaption to
6002 return an Accessible.
6003 Changed prototype of AccessibleTable_getSelectedRows
6004 and AccessibleTable_getSelectedColumns to
6005 return a long (returns the number of selected rows
6006 or columns respectively).
6007 Changed name of AccessibleText_refRunAttributes to
6008 AccessibleText_getAttributes.
6009 Changed prototype of AccessibleText_getCharacterExtents to
6010 return a void rather than a boolean.
6011 Added support for a AccessibleCoordType parameter
6012 specifying what type of coordinates are desired.
6013 Added an AccessibleCordType parameter to
6014 AccessibleText_getPointAtOffset.
6016 * cspi/spi_accessible.c:
6017 Added code to return the outstanding interfaces from
6018 Accessible_queryInterface.
6020 * cspi/spi_action.c:
6022 Corrected call to getNActions to call the c binding
6025 * cspi/spi_editabletext.c:
6027 Changed name from setRunAttributes to setAttributes.
6029 * cspi/spi_hyperlink.c:
6031 Changed call to getNAnchors to correctly call the c
6032 binding for an attribute.
6034 * cspi/spi_hypertext.c:
6036 Changed getImageDescription to correctly call the
6037 binding for an attribute.
6039 * cspi/spi_selection.c:
6040 Changed getNSelectedChildren to correctly call the c
6041 binding for the attribute.
6042 Changed refSelectedChild to getSelectedChild.
6046 Changed getCaption to return an Accessible.
6047 Fixed calls which retrieve attributes.
6048 Changed refAt to getAccessibleAt.
6049 Changed getNSelectedRows and getNSelectedColumns to
6053 Changed getCharacterExtents and getPointAtOffset to accept an
6054 AccessibleCoordType.
6056 Changed calls which retrieve attributes.
6057 Changed refRunAttributes to getAttributes.
6062 * idl/Hyperlink.idl:
6063 Changed n_anchors attribute to nAnchors to keep naming
6064 convention consistent.
6067 Made Table inherit from Bonobo::Unknown.
6068 Added nSelectedColumns and nSelectedRows attributes.
6071 Made Value inherit from Bonobo::Unknown.
6073 * libspi/hyperlink.c:
6074 Change for nAnchors attributte name change.
6077 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6079 implementations-- made server implementations own AtkObject pointers
6080 rather than their respective AtkInterrface pointers to fix
6081 refcounting. AtkHyperlink is still broken.
6083 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6084 * cspi/spi_accessible.c:
6085 Added method Accessible_Role_getName(),
6086 and requisite string array (role_names).
6087 Added conversion string_from_corba_strin() call
6088 to Accessible_getName and _getDescription.
6089 * libspi/accessible.c:
6090 Added implementation for Accessible_getRole()
6092 Added festival support, used if environment variable
6095 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6097 * at-bridge/bridge.c:
6098 Now allocate Accessibility_Event using
6099 Accessibility_Event__alloc() instead of g_new0().
6100 * libspi/accessibleeventlistener.c:
6101 Initialize AccessibleEventListener->callbacks to NULL.
6102 Fixed accessible__event_listener_init() param, changed to
6103 "AccessibleEventListener *" type.
6104 Changed a bonobo_object_release_unref() call to
6105 Accessibility_Accessible_unref().
6106 * libspi/listener.c:
6107 Changed Bonobo_Unknown_unref to (equivalent)
6108 Accessibility_Accessible_unref.
6109 * libspi/registry.c:
6110 Changed bonobo_object_release_unref to
6111 Accessibility_Accessible_unref.
6113 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6116 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6117 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6118 spi-util.c spi-util.h
6119 Implementations for C bindings to remaining accessibility
6122 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6125 changed return value of Action from void to boolean to
6126 bring in line with ATK.
6129 Changed getText funcions to return "out" start and end offsets.
6130 Changed getAttributes to take and offset and return the start
6131 and end offset of the attribute run.
6132 Changed getOffsetAtPoint and getCharacterExtents to take an
6133 enum describing whether coordinates are window or screen.
6136 libspi/action.c libspi/action.h libspi/editabletext.c
6137 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6138 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6139 libspi/image.h libspi/selection.c libspi/selection.h
6140 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6141 libspi/value.c libspi/value.h
6142 Added server implementations for outstanding ATK interfaces
6143 not yet implemented.
6145 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6148 Added (missing) getName() method.
6149 Made nActions an attribute.
6150 * idl/EditableText.idl:
6151 Changed order of params in setAttributes.
6152 * idl/Hyperlink.idl:
6153 Removed getAnchor, added getURI.
6155 Changed attributes to methods, for efficiency
6156 (so that getting extents can be done in one call)
6157 * idl/Selection.idl:
6158 Changed nSelectedChildren to attribute, and re-indented.
6159 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6161 * idl/Text.idl: reformatted to match our coding style.
6162 (temporarily?) removed getRowColumnAtOffset().
6163 Changed text selection API to support multi-select and
6164 non-contiguous selections, as in ATK.
6165 * idl/Value.idl: changed some methods to attributes.
6167 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6169 * libspi/listener.c(impl_notify_event):
6170 BonoboUnkown_unref the source instead
6171 of bonobo_object_release_unref - the ORB
6172 handles the releasing.
6174 * configure.in: require ORBit-2.3.94 for
6177 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6179 Tagged CVS repository 'EA_1_0'.
6180 * README.EARLY_ACCESS:
6181 Alphabetized acknowledgements list, and
6183 Listed some known dependencies of at-spi.
6185 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6187 * docs/at-spi-docs.sgml:
6188 * docs/at-spi-sections.txt:
6189 * docs/at-spi-overrides.txt: (Added zero-length file)
6190 Documentation improvements - gtk-doc should build
6191 docs for all implemented C bindings now.
6194 * cspi/spi.c: (New file)
6195 * cspi/spi_event.c: (New file)
6196 * cspi/spi_registry.c: (New file)
6197 * cspi/spi_accessible.c: (New file)
6198 * cspi/spi_application.c: (New file)
6199 * cspi/spi_component.c: (New file)
6200 Split spi_main.c into six parts, and included them from
6201 "spi.c". This is a bit of a hack, probably temporary,
6202 but required by gtk-doc, apparently.
6204 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6207 * docs/at-spi-docs.sgml:
6208 * docs/at-spi-sections.txt:
6210 Initial checkins/modifications for gtk-doc generation.
6213 Added (missing) interface query methods to Accessible's C binding.
6215 Added GenericInterface type definition.
6217 Added query for AccessibleComponent interface to focus event handler.
6218 Added printout of bounding box for focussed component.
6219 * libspi/component.c:
6220 Added partial implementation for AccessibleComponent to C binding.
6221 * idl/Application.idl:
6222 * libspi/registry.c:
6223 * libspi/listener.c:
6224 * libspi/application.c:
6225 * libspi/application.h:
6226 Changed "ID" attribute type from string to long.
6228 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6232 Made method naming consistent: methods taking object args
6233 start with uppercase, other methods (except those using
6234 acronyms) start with lowercase. Underscores delimit between
6235 object names and method names:
6236 SPI_init() - uppercase since it starts with an acronym.
6237 getDesktopCount () - lowercase start since no object param0.
6238 Accessible_getName() - uppercase object type name, studlyCaps method
6242 Added gtk-doc documentation for all currently implemented
6243 methods in the C bindings API.
6245 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6247 * Makefile.am : changed build order to build test last.
6250 Changed "createEventListener" to "CreateEventListener".
6251 * libspi/accessibleeventlistener.c :
6252 Bugfix for addition of callbacks.
6253 * test/Makefile.am :
6254 * test/simple-at.c :
6255 Added new test that uses the C bindings API.
6257 * libspi/listener.c :
6258 * libspi/registry.c :
6259 * libspi/accessibleeventlistener.c :
6260 * at-bridge/bridge.c :
6261 Renamed member "target" of Accessibility_Event to "source",
6262 which is more descriptive.
6265 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6269 * cspi/Makefile.am :
6270 Added makefile support for at-spi/cspi directory.
6273 * cspi/spi-listener.h : (NEW FILE)
6274 Added support for/use of spi-listener.h.
6276 C bindings now build successfully, with no warnings.
6277 * libspi/accessibleeventlistener.h : (NEW FILE)
6278 * libspi/accessibleeventlistener.c : (NEW FILE)
6279 * libspi/Makefile.am :
6280 Added new object type "AccessibleEventListener"
6281 which inherits from Listener, and allows attachment
6282 of in-process callbacks (so that a client with a listening
6283 object instance can add functionality to the local
6284 implementation, dynamically).
6286 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6288 * libspi/accessible.c:
6289 Add implementation for get_index_in_parent().
6291 Added #include of "spi-roletypes.h", and
6292 added enumerated type AccessibleCoordType.
6293 Added definition for KeystrokeListener (function type).
6296 * cspi/spi-statetypes.h :
6297 * cspi/spi-roletypes.h :
6299 Added these headers, used by spi.h.
6301 Added code (NOTE: not yet built by make).
6303 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6305 * libspi/Makefile.am: generate imodule
6306 at the same time as other idl compiler
6309 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6310 * libspi/registry.c :
6311 * libspi/application.c :
6312 * idl/Application.idl :
6313 Made registration with toolkit an application method,
6314 which is required since each app has its own toolkit static
6315 environment. Thus the bridge must register for
6316 notification of toolkit events from each application in turn.
6317 Toolkit notifications are now successfully registered for, and
6318 sent to the listening at client.
6320 Changed toolkit event string to use hyphens rather than underscores.
6321 * libspi/listener.c :
6322 listner now gives more info in debug mode - it reports the
6323 name of the event received, as well as the name of the source.
6326 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6328 * libspi/registry.c :
6329 added more implementation for toolkit events.
6330 Fixed bug such that toolkit event registrations
6331 (via atk) use the whole event name string, not
6333 Removed a useless call to an ORBit_ method.
6334 * at-bridge/bridge.c :
6335 Removed unused local sbuf[] variable.
6337 We now register for Gtk:GtkWidget:button_press_event
6338 events as well as "focus:" events.
6340 Add some more API from Registry.idl that was missing,
6341 for keystroke listening, keystroke and mouse event
6342 synthesis, and enumeration of accessible desktops.
6344 2001-08-16 Michael Meeks <michael@ximian.com>
6346 * configure.in: use AM_GLIB_GNU_GETTEXT.
6348 * Makefile.am (SUBDIRS): kill intl.
6350 2001-08-15 Michael Meeks <michael@ximian.com>
6352 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6354 * configure.in: upd.
6356 * configure.in: depend on a recent bonobo-activation that
6357 will find our server files ...
6359 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6361 * libspi/accessible.c : accessible_new() :
6362 Now we add the Component interface via bonobo_object_add_interface,
6363 if the contained AtkObject implements AtkComponent.
6364 * libspi/accessible.h : now include "component.h"
6365 * libspi/component.h :
6366 * libspi/component.c : added files - implementation of
6367 bonobo wrapper object for Accessibility/Component
6368 * libspi/listener.c :
6369 Added test code to check for Accessibility/Component:1.0
6370 interface and report whether it is implemented by the
6372 * libspi/registry.c :
6373 Now we check for not only the hash of the whole event
6374 string before relaying the event, we also check the
6375 "minor" event string (without the detail string).
6376 This allows event listeners to be registered against
6377 all events of a certain major+minor type, or just
6378 against a specific major+minor+detail type.
6379 * libspi/accessible.c :
6380 Added implementations for Accessible:get_parent(),
6381 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6382 * libspi/registry.c :
6383 * libspi/listener.c :
6384 Replaced calls to Accessibility_Accessible_ref() and
6385 Accessibility_Accessible_unref() with
6386 calls to bonobo_object_dup_ref() and
6387 bonobo_object_release_unref(), so that the CORBA object
6388 is dup-ed and released when relayed, as well as the bonobo object.
6390 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6392 * libspi/Makefile.am,
6393 registryd/Makefile.am,
6394 at-bridge/Makefile.am.
6395 test/Makefile.am, configure.in:
6396 reverse previous changes.
6398 * /idl/Image.idl: fix typo.
6400 * test/Makefile.am: put DEBUG_FLAGS
6403 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6405 * test/app.c: use argv[0] instead of
6408 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6410 * libspi/Makefile.am,
6411 registryd/Makefile.am,
6412 at-bridge/Makefile.am.
6413 test/Makefile.am, configure.in:
6414 cleanup, replace individual LIBS/CFLAGS with
6415 AT_COMMON_{LIBS|CFLAGS}.
6419 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6421 * configure.in, libspi/Makefile.am:
6422 Change IDL path checking for bonobo-activation
6425 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6427 * registryd/registry.c : separated event listeners to use
6428 3 separate lists (focus, window, toolkit). Began testing
6429 event names against hashes before relaying events.
6430 * test/at.c : now register for events of type "focus:"
6431 * test/app.c : now generate events of type "focus:"
6432 * at-bridge/bridge.c : register with ATK for focus events,
6433 and we now relay those focus events to any "focus:" listeners.
6434 This now works with the bridge as a GTK_MODULE when running test/at.
6435 * libspi/registry.c :
6436 * libspi/listener.c :
6437 now we ref event sources before propagating, and unref on receipt.
6438 * libspi/registry.c :
6439 some changes to internal structs, to support event typestring hashes.
6440 * text/app.c : changed the way the appname is generated.
6441 * cspi : added directory that will hold the C bindings library for
6442 non-CORBA/bonobo-savvy clients.
6443 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6444 * idl/Component.idl : added in parameter to indicate coord system for
6445 geometry-related calls.
6446 * idl/Hyperlink.idl : added readonly n_links attribute
6447 * idl/Image.idl : changed methods to attributes.
6449 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6451 * at-bridge/Makefile.am: link against
6452 ../libspi/libspi.la instead of -lspi.
6454 * at-spi/test/app.c: include
6455 bonobo-activation.h. Use a default appname
6456 if one is not provided.
6458 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6460 * idl/Registry.idl : temporarily changed register_Application
6461 to oneway, to work around issue with initial registration
6463 * idl/Application.idl : changed attribute "id" from readonly
6464 to read-write, since it needs to be assigned by Registry.
6465 * registryd/registryd.c : added call to set application id
6467 * registryd/registry.c : changed de-registration procedure to
6468 use CORBA_Object_hash() to find matching object ref in application
6469 lists and listener lists.
6470 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6471 began distinguishing between event types (work in progress).
6473 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6476 * libspi/application.c:
6477 Added implementations for get/set id, get_toolkitName,
6479 * registryd/registryd.c :
6483 Converted from use of OAF to bonobo-activation.
6484 * libspi/desktop.h :
6485 * libspi/desktop.c :
6487 Removed references to atksimpleobject, since base atkobject
6488 implementation now provides functionality we need.
6489 * libspi/atksimpleobject.c :
6490 * libspi/atksimpleobject.h :
6495 * at-bridge/Makefile.am
6496 * at-bridge/bridge.c
6499 Added directory "bridge" and contents, and added dependencies
6500 in Makefile.am/configure.in.
6501 Initial checkin of "at-bridge".
6502 This code is a GTK_MODULE which automatically registers
6503 GTK+ apps with the accessibility registry, using an object
6504 reference to the root ATK object.
6506 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6508 * po/Makefile.in.in: Remove. Again. If this
6509 doesn't get autogenerated - you need to update
6512 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6514 * po/Makefile.in.in: Add. Again.
6516 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6518 * libspi/accessible.c : added support for 'description' property.
6519 * libspi/accessible.c
6521 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6522 (since the two are now equivalent in libbonobo)
6530 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6531 Bonobo::Unknown as does Accessibility::Accessible.
6532 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6533 interface with Bonobo::Stream, since it was redundant with it.
6534 (The Stream returned by a StreamableContext object is expected to
6535 implement only a subset of Bonobo::Stream)
6537 2001-07-28 Anders Carlsson <andersca@gnome.org>
6539 * libspi/accessible.c (accessible_object_finalize): Change
6540 g_free to g_object_unref since the AtkObject is a GObject.
6542 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6544 * idl/Accessibility.idl: add new IDL files
6547 * idl/Action.idl: Definitions of actionable UI object
6548 * idl/Component.idl: Definitions of UI component geometry, etc.
6549 * idl/Hyperlink.idl: Defs of hyperlink behavior
6550 * idl/Image.idl: Def of accessible image
6551 * idl/Selection.idl: Definition of UI object with selectable children
6552 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6553 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6554 * idl/Text.idl: Interface defs for UI elements with complex textual content
6555 * idl/Value.idl: Definition of UI element that is a value controller or display
6557 2001-07-27 Michael Meeks <michael@ximian.com>
6559 * po/Makefile.in.in: remove autogenerated file from CVS.
6561 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6564 * idl/Registry.idl: include guard.
6566 * idl/Accessibility.idl: Add, and include all the other IDL
6569 * idl/*.idl: remove mass of pragmas etc.
6571 2001-07-26 Michael Meeks <michael@ximian.com>
6573 * registryd/Makefile.am (registryd_SOURCES): remove
6576 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6578 * libspi/.cvsignore, registryd/.cvsignore,
6579 test/.cvsignore: updated.
6581 * po/Makefile.in.in: gettext update.
6583 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6585 * initial CVS checkin
6587 2001-06-29 Michael Meeks <michael@ximian.com>
6589 * configure.in: add AM_CONFIG_HEADER to gen config.h