1 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
3 * atk-bridge.c: (atk_bridge_init): Create accessible application
4 root object so that it is present when a context menu in an
5 out-of-process applet is popped up.
6 (spi_atk_bridge_do_registration): Create acceessible application root
7 object only if it does not exist.
9 This fixes bug #125834.
11 2003-12-01 Bill Haneman <billh@gnome.org>
13 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
16 Added enum for AccessibleStreamableContentSeekType.
17 (AccessibleStreamableContent_freeContentTypeList): New.
19 * cspi/spi_streamablecontent.c:
20 (accessible_bonobo_stream_client_seek): New private method.
21 (AccessibleStreamableContent_seek): Implemented this method,
22 using Bonobo_Stream_seek.
23 (AccessibleStreamableContent_freeContentTypeList): New method
24 for freeing the return value from
25 AccessibleStreamableContent_getContentTypes.
26 (stream_cache_item_free): Replaces stream_release; stop leaks.
27 (stream_release): removed.
28 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
29 free the memory properly.
31 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
35 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
37 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
39 * docs/referecce/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
41 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
43 2003-12-01 Bill Haneman <billh@gnome.org>
45 Fix for bug/rfe #127463.
47 * idl/Accessibility_Accessible.idl:
48 (getLocalizedRoleName): New.
49 (unimplemented4): Removed (replaced by above).
51 * libspi/accessible.c:
52 (impl_accessibility_accessible_get_local_role_name): New.
53 (spi_accessible_class_init): Add getLocalizedRoleName entry to
57 (Accessible_getLocalizedRoleName): New.
59 * cspi/spi_accessible.c:
60 (Accessible_getLocalizedRoleName): New.
62 2003-12-01 Bill Haneman <billh@gnome.org>
65 * idl/Accessibility_Text.idl:
66 (getDefaultAttributes): New.
67 (unimplemented4): Removed (replaced by above method).
70 (impl_getDefaultAttributes): New method.
71 (spi_text_class_init):
72 initialize the get_default_attributes slot in the epv.
75 (AccessibleText_getDefaultAttributes): New prototype.
78 (AccessibleText_getDefaultAttributes): New method.
80 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
82 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
83 write beyond the end of the table. Fixes bug #120473.
85 2003-09-30 Christian Rose <menthos@menthos.com>
87 * configure.in: Added "eu" to ALL_LINGUAS.
89 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
91 * configure.in: ALL_LINGUAS: Added no.
93 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
95 * configure.in: Added lt to ALL_LINGUAS.
97 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
99 * atk-bridge/bridge.c:
100 (atk_bridge_init): Register event listeners always even for
101 out-of-process applet.
102 (spi_atk_bridge_toplevel_added): Remove call to
103 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
104 (spi_atk_bridge_toplevelk_removed): Remove call to
105 spi_atk_deregister_event_listenersa as the listeners are now always
107 (spi_atk_bridge_register_application): Remove call to
108 spi_atk_register_event_listeners as it is not done in atk_bridge_init
110 This fixes bug #120991.
112 * libspi/table.c (impl_getColumnDescription): Correct typo,
113 pointed out by Bolian.Yin@sun.com.
115 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
117 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
119 2003-09-08 Bill Haneman <billh@gnome.org>
121 * configure.in: Revved to 1.3.7.
123 This is the GNOME 2.4.0 release of at-spi.
125 * docs/reference/cspi/Makefile.am:
126 Removed spurious inclusion of 'index.sgml' in the
127 html directory; this was breaking make distcheck and
128 also some other build environments.
130 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
132 * registryd/registry.[ch}:
133 Add queue_handler_id and focus_object to SpiRegistry data structure.
134 (registry_flush_event_queue): If event being discarded is
135 "state-change:focused" store object as focus_object.
136 (registry_start_queue): Remove queue handler and focus object
138 (registry_discard_event): New function which discards a focus event
139 if we had stored focus object in the registry.
140 (registry_queue_event): Add new check that is_queueing is set as this
141 function is reentrant.
142 (registry_filer_event): Add call to registry_discard_event.
144 This resolves issues raised in bug #108664.
146 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
148 * configure.in: Added "bn" to ALL_LINGUAS.
150 2003-09-04 Bill Haneman <billh@gnome.org>
152 * cspi/spi_event.c: Documentation improvements for
153 (SPI_registerAccessibleKeylistener).
155 * docs/reference/tmpl/spi_registry.sgml:
156 Documentation improvements for SpiAccessibleKeylistenerCB.
158 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
160 * configure.in: Added "ro" to ALL_LINGUAS.
163 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
165 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
166 not decremented to zero. Fixes bug #120725.
168 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
170 * configure.in: Added "ja" to ALL_LINGUAS.
172 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
174 * configure.in: Added "is" to ALL_LINGUAS.
176 2003-08-22 Christian Rose <menthos@menthos.com>
178 * configure.in: Added "nl" to ALL_LINGUAS.
180 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
182 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
183 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
185 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
187 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
188 type for unspecified exception.
189 * cspi_streamablecontect): Add include of string.h for memcpy.
190 (stream_release): Correct call to bonobo_object_release_unref
191 (stream_cache_item_free): Correct call to bonobo_object_release_unref
192 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
193 argument of _cspi_expection_throw.
194 * libspi/hyperlink.c: Add include of libspi/action.h:
195 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
196 * libspi/streamablecontent.c: add include of libspi/component.h.
197 * regisrtyd/deviceeventcontroller.c:
198 (spi_dec_translate_mask): Removed unused variable priv.
199 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
200 * registryd/registry.c:
201 (registry_filter_event): Remove unused variable queue_is-empty.
202 (impl_registry_notify_event): Use correct modifier in fprintf call.
204 This fixes compiler warnings reported in bug #120220.
206 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
208 * registryd/registryd.c: Remove this file.
210 2003-08-17 Sanlig Badral <badral@openmn.org>
212 * configure.in: Added mn to ALL_LINGUAS.
214 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
216 * configure.in: Added et to ALL_LINGUAS.
218 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
220 * test/event-listener-test.c: Change active-descendant to
221 active-descendant-changed.
223 2003-08-10 Sami Pesonen <sampeson@iki.fi>
225 * configure.in: Added "fi" in ALL_LINGUAS.
227 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
229 * configure.in: Added "hi" in ALL_LINGUAS.
231 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
233 * configure.in: Revved to 1.3.6.
237 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
239 * registryd/deviceeventcontroller.c
240 (spi_device_event_controller_object_finalize): Fix typo in previous
243 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
245 * registryd/deviceeventcontroller.c
246 (spi_device_event_controller_object_finalize): Fix build on
247 systems without XEvIE.
249 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
251 * acconfig.h, configure.in, registryd/Makefile.am,
252 registryd/devicecontoller.[ch]: Add XEViE support.
254 2003-08-06 Wang Jian <lark@linux.net.cn>
256 * configure.in: Added "zh_CN" to ALL_LINGUAS.
258 2003-08-06 Metin Amiroff<metin@karegen.com>
260 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
262 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
264 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
265 MODIFIER_ALT in correct place.
267 This fixes part of bug #118114.
269 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
271 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
273 2003-07-28 Changwoo Ryu <cwryu@debian.org>
275 * configure.in: Added "ko" to ALL_LINGUAS.
277 2003-07-28 Ole Laursen <olau@hardworking.dk>
279 * configure.in: Added "da" to the commented out ALL_LINGUAS.
281 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
283 * configure.in: Added "sq" to ALL_LINGUAS.
285 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
287 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
289 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
291 * configure.in: updated ALL_LINGUAS list
293 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
295 * configure.in: Added Belarusian to ALL_LINGUAS.
297 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
299 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
301 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
302 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
304 This fixes bug #116949.
306 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
308 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
309 Correct CSPI to SPI in function documentation.
311 This fixes bug #118054.
313 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
315 * configure.in: Added Russian to ALL_LINGUAS.
317 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
319 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
321 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
323 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
325 2003-07-10 Joel Brich <joel.brich@laposte.net>
327 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
329 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
331 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
333 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
335 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
336 resources allocated for AccessibleEvent. See cspi_event().
338 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
339 static variable streams to NULL.
341 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
342 Update so that AcessibleEvent_ref will work.
344 This fixes bug #116624.
346 2003-07-06 Jordi Mallach <jordi@sindominio.net>
348 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
350 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
352 * configure.in: Added "fr" (French) to ALL_LINGUAS.
354 2003-07-02 Christian Neumair <chris@gnome-de.org>
356 * configure.in: Added "de" (German) to ALL_LINGUAS.
358 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
360 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
362 2003-07-01 Miloslav Trmac <mitr@volny.cz>
364 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
366 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
368 * configure.in: Added "pl" to ALL_LINGUAS.
370 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
372 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
374 2003-06-30 Bill Haneman <bill.haneman@sun.com>
377 (get_action_from_servant):
378 Removed assertion that action is implemented on an AtkObject.
380 * libspi/hyperlink.c:
382 Aggregate AccessibleAction interface on the hyperlink object if
383 the object implements AtkAction. (This convention is used in
386 2003-06-30 Bill Haneman <bill.haneman@sun.com>
388 * configure.in: Revved to 1.3.5.
390 * registryd/Accessibility_Registry.server.in.in:
391 Marked up appropriate strings for translation.
393 * atk-bridge/bridge.c: Marked a couple of
394 user-visible warnings for translation. Questionable
395 whether they are really useful, but possibly so.
398 2003-06-28 Christian Rose <menthos@menthos.com>
400 * configure.in: Added "sv" to ALL_LINGUAS.
402 2003-06-26 Bill Haneman <bill.haneman@sun.com>
404 * registryd/registry.c:
405 (spi_registry_object_finalize): Unref the deviceeventcontroller.
406 (registry_defer_on_event): Defer focus: events, this is an
407 improvement to the patch for bug #108664.
409 * TODO: Update with 2.4/"Dev Complete" items.
411 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
413 * atk-bridge/bridge.c:
414 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
415 looks up signals once.
416 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
417 if doing registration.
418 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
419 when doing registration.
421 This fixes bug #115014.
423 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
425 * atk-bridge/bridge.c:
426 (atk_bridge_init): Add signal handler for children-changed:remove on
427 root when in a BonoboComponent.
428 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
429 for first toplevel only other incrememt variable toplevels.
430 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
431 application and remove listeners.
432 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
434 (spi_atk_deregister_event_listeners): New function which removes
436 (reinit_register_vars): New fuction which reinitializes variables.
438 This fixes bug #111578.
440 2003-06-13 Bill Haneman <bill.haneman@sun.com>
442 * configure.in: version 1.3.4.
444 * cspi/spi_accessible.c:
445 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
448 2003-06-13 Michael Meeks <michael@ximian.com>
450 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
452 * cspi/spi_main.c (cspi_peek_ev): impl.
454 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
456 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
458 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
460 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
461 SPI_ROLE_AUTOCOMPLETE
463 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
465 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
466 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
468 2003-06-11 Bill Haneman <bill.haneman@sun.com>
470 * libspi/streamablecontent.h:
471 * libspi/streamablecontent.c:
472 New files, provide implementation/wrappers for
473 Accessibility_StreamableContent.
475 * cspi/spi_streamablecontent.c:
476 Connected the C wrappers to the libspi C bindings.
477 (AccessibleStreamableContent_close): New method.
480 (AccessibleStreamableContent_close): New method, needed
481 since we have an "open, [seek], read, close" model in cspi.
483 2003-06-11 Bill Haneman <bill.haneman@sun.com>
485 Fix for #108664; Padraig's revision of my original patch.
487 * registryd/registry.h:
488 Added event queue list, is_queuing, and exit_notify_timeout
489 to the registry struct.
491 * registryd/registry.c:
492 (registry_init): Initialize new struct from registry.h.
493 (impl_registry_notify_event):
494 Filter events before notifying, in case some need to be
496 (registry_filter_event): New,
497 we defer certain incoming events (for instance
498 window:deactivate) because we may wish to hide
499 or reject them based on pending events. This is
500 mostly a workaround for bug #108664.
501 (registry_queue_event, registry_start_queue): New.
502 (registry_defer_on_event): Test event to see if it
504 (registry_reset_on_event): Returns TRUE if the
505 event should cause a queue reset.
506 (registry_discard_on_event): Returns TRUE if the event
507 should cause the previous queue contents to be discarded.
508 (registry_timeout_flush_queue): Flushes the pending event
509 queue if no reset/discard-triggering events have come in
510 within the timeout period.
511 (registry_emit_event): New.
512 (registry_clone_notify_context): New, used when queueing the
513 event notify contexts.
515 2003-06-10 Bill Haneman <bill.haneman@sun.com>
517 * configure.in: Version revved to 1.3.2, lt 0.9.2
518 Incremented ATK required version to 1.3.4.
520 * cspi/spi_registry.c:
521 (SPI_generateKeyEvent):
522 We now pass the keystring along if it's non-null.
524 * registryd/deviceeventcontroller.c:
525 (keysym_mod_mask): New method, returns modifier mask
526 required to generate a keysym from a given keycode.
527 (dec_synth_keysym): New method.
528 (dec_synth_keystring): New method.
529 (dec_get_modifier_state): New method.
530 (dec_lock_modifiers): New
531 (dec_unlock_modifiers): New.
532 (dec_keysym_for_unichar): New, rather brute-force
533 conversion from UCS-4 to X KeySyms. Only works for
534 Latin at the moment, with partial implementations for
535 Greek, Hebrew, and (incomplete) Katakana.
536 (impl_generate_keyboard_event): Now implement
537 "KEYSTRING" synthesis and implement "KEYSYM"
539 (keycode_from_keysym): Improved, passes a returned
540 modmask value now if the corresponding param is non-NULL.
542 Fixes bugs #92143 and #109776.
545 * test/keysynth-test.c:
546 New test program for key synthesis, to confirm fixes for
550 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
552 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
554 * cspi/spi_accessible.c (cspi_init_relation_type_table):
555 Add line for RELATION_POPUP_FOR
557 * docs/reference/cspi/tmpl/spi_relation.sgml:
558 Add relation SPI_RELATION_POPUP_FOR
560 * docs/reference/cspi/tmpl/spi_stateset.sgml:
561 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
563 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
565 * libspi/relation.c (spi_init_relation_type_table):
566 Add line for RELATION_POPUP_FOR
568 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
570 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
571 there are still windows which have not been deleted and emit
572 window:deactivate, if necessary and window:destroy events.
573 This fixes bug #114370. The change on June 5th was not correct.
575 2003-06-09 Bill Haneman <bill.haneman@sun.com>
577 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
580 (SPI_dupString): Allow dup-ing of a string such that it's safe to
582 New methods for client exception handling and interception.
583 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
584 (SPI_exceptionHandlerPop): You guessed it...
585 (SPI_getSourceType): Return the type of object which offended.
586 (SPI_getExceptionCode): Return an enum code telling, possibly,
587 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
588 (SPIAccessibleException_getSource): get the source object for
589 exceptions that come from Accessibles, if SPIExceptionSourceType is
590 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
591 (SPIException_getDescription): New, returns a string description of
592 the problem. [Not yet a stable ABI, strings are not frozen]
594 * cspi/spi-private.h:
595 Added implementation details of opaque SPIException
599 Implementations of above. Also
600 (_cspi_exception_throw): new private method that
601 dispatches exceptions to handlers, called from cspi-bonobo.c
603 * cspi/bonobo/cspi-bonobo.c:
604 (cspi_check_ev): call _cspi_exception_throw.
605 Don't print a warning message if the exception has been
606 handled by _cspi_exception_throw.
608 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
610 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
611 there are still windows which have not been deleted and emit
612 window:deactivate, if necessary and window:destroy events.
613 This fixes bug #114370.
615 2003-06-03 Bill Haneman <bill.haneman@sun.com>
618 (cspi_accessible_is_a): Make non-fatal
619 if the object reference is dead.
621 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
623 * cspi/spi_main.c: #include <stdio.h>
624 * test/simple-at.c: ditto
625 * test/event-listener-test.c: ditto
626 * test/screen-review-test.c: ditto
628 2003-05-30 Michael Meeks <michael@ximian.com>
630 * test/test-simple.c (main): use CORBA_ORB_perform_work
631 instead of an unnecessary linc_ call.
633 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
635 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
636 Add SPI_STATE_INDETERMINATE.
638 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
641 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
643 * libspi/stateset.c (init_state_type_tables): Add support for
646 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
648 * configure: Update versions of atk and gail required.
649 This fixes bug #113268.
651 2003-05-02 Bill Haneman <bill.haneman@sun.com>
653 * configure.in: Revved micro version to 1.3.1 (because of build fix).
655 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
657 * libspi/Makefile.am:
658 Ensure headers are generated before being used by c sources.
660 2003-05-01 Bill Haneman <bill.haneman@sun.com>
663 Simplified lt versioning rules.
664 Incremented version to 1.3.0, to indicate that we're on the
667 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
669 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
670 Add MKDB_OPTIONS=--outtput-format=xml
672 * docs/reference/cspi/at-spi-cspi-docs.sgml
673 docs/reference/idl/at-spi-idl-docs.sgml:
674 Convert to Docbook XML.
676 This fixes bug #111793.
678 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
680 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
681 AcccessibleKeyEventType, AccessibleKeyMaskType.
683 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
685 * cspi/state-types.h: Add documentation for AccessibleState.
687 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
688 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
689 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
690 AccessibleComponentLayer.
692 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
695 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
697 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
698 Accessible. Add description of AccessibleEvent,
699 AccessibleEventListenerCB.
701 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
704 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
705 documentation. Add description of AccessibleKeystrokeListenerCB,
706 AccessibleKeyEventMask, AccessibleModifierMaskType,
707 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
708 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
710 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
713 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
716 This fixes bug #104730.
718 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
720 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
721 Set is_text field of Accessibility_DeviceEvent data structure.
723 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
724 is-text field of AccessibleDeviceEvent data structure.
726 This addresses part of bug #108666.
728 * registryd/devcieeventcontroller.c: Unset debug option.
730 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
733 (cpi_initial_relation_type_table): New function which initializes
734 mapping between Accessibility_RelationType and AccessibleRelationType.
735 (cspi_relation_type_from_spi_relation_type): New function which
736 translates an Accessibility_RelationType into an AccessibleRelationType.
737 (AccessibleRelation_getRelationType): Use
738 cpi_relation_type_get_spi_relation_type to return correct value.
739 (spi_state_to_corba): Return correct type for default case.
741 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
742 Use Accessibility_EventType instead of Accessibility_KeyEventType.
744 * cspi/cspi-bonobo-listener.c:
745 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
748 * libspi/accessible.c, libspi/action.c, libspi/application.c,
749 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
750 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
751 libspi/image.c, libspi/listener.c, libspi/selection.c,
752 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
753 registryd/desktop.c, registryd/registry.c:
754 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
756 * libspi/eventlistener.c
757 Remove semicolon after BONOBO_TYPE_FUNC.
760 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
761 (spi_init_relation_type_table): Initialize using correct type.
763 * registryd/desktop.c:
764 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
765 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
766 of Accessibility_KeyEventType.
768 * test/key-listener-test.c (report_tab_key_event): Use fprintf
771 * tests/simple-at.c, tests/screen-review-test.c:
772 Add include for <strings.h>.
774 * tests.stress-test.c:
775 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
777 These changes fix compiler warnings when using FORTE compiler on
778 Solaris; fixes bug #107479.
781 2003-04-10 Bill Haneman <bill.haneman@sun.com>
784 * configure.in: revved to 1.1.10
787 (SPI_KEYMASK_NUMLOCK): Added.
789 * registryd/deviceeventcontroller.c:
790 (spi_key_event_matches_listener): AND with a smaller
791 bitmask (as we should).
792 (spi_dec_translate_mask):
793 New method, sets the virtual NumLock modifier bit
794 if numlock is on. Eventually it can handle other virtual
795 modifier bits if needed, or other marshalling from
796 at-spi modifier masks to platform (X) masks.
797 (spi_dec_key_listener_new):
798 Call spi_dec_translate_mask to set up virtual mod bits
799 in the 'mask' field when creating a new listener struct.
800 (spi_dec_emit_modifier_event):
801 Set the virtual (i.e. NumLock) bits before emitting event.
802 (spi_controller_register_with_devices):
803 Query for the NumLock modifier 'physical' bit if Xkb is
804 present, for use in above methods.
808 2003-04-10 Bill Haneman <bill.haneman@sun.com>
810 * registryd/deviceeventcontroller.c:
811 (spi_keystroke_from_x_key_event):
812 Instead of checking to see if the keysym is
813 printable, check the string from XLookupString
814 if available, get the first unicode character from it,
815 and call g_unichar_isprint to determine whether the
816 is_text flag should be TRUE or FALSE.
820 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
822 * atk-bridge/bridge.c: Add support for extended events
823 * cspi/spi_event.c: Add documentation and implementation for
825 * tests/event-listener-test.c: Add tests for extended events.
827 This fixes bugs #100424 and #100426.
829 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
831 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
832 of LT_CURRENT. This fixes bug #89350.
834 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
836 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
837 number of signal parameter values before accessing them. This fixes
840 2003-04-01 Bill Haneman <bill.haneman@sun.com>
842 * configure.in: Fixed duplicate inclusion of -lspi.
843 * branched for gnome-2-2/HEAD.
844 [created tag "gnome-2-2"]
846 2003-03-07 Bill Haneman <bill.haneman@sun.com>
848 * configure.in: 1.1.9 release.
851 2003-03-07 Bill Haneman <bill.haneman@sun.com>
853 [needed by GOK, to fix bugs 107985 and 107988]
854 * registryd/deviceeventcontroller.c:
855 (spi_dec_clear_unlatch_pending):
856 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
857 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
858 (spi_dec_init_mouse_listener):Emit warning if mouse button
860 (spi_device_event_controller_forward_mouse_event):
861 Removed unnecessary parens from a conditional.
862 (global_filter_fn):Added TODO comment.
863 (impl_generate_keyboard_event):
864 Cancel a pending relatch if a 'delatching' key was
867 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
869 * atk-bridge/bridge.c:
870 Change atk_signal_child_changed to atk_signal_children_changed.
871 Reorganize code in spi_atk_bridge_signal_listener().
873 * test/event-listener-test.c:
874 Add children_changed_listener and report_children_changed_event()
875 to test AccessibleChildEvent_getChildAccessible.
877 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
879 * cspi/spi_event.c (cspi_internal_event_get_text): Change
880 g_strdup to CORBA_String_dup (bug #105291)
882 * test/event-listener-test.c (report_text_event): Add call to
885 2003-02-28 Bill Haneman <bill.haneman@sun.com>
887 * registryd/deviceeventcontroller.c:
888 (spi_keystroke_from_x_key_event):
889 Fix string and keysym return codes to match modifier state.
892 2003-02-28 Bill Haneman <bill.haneman@sun.com>
894 * registryd/deviceeventcontroller.c:
895 (spi_keystroke_from_x_key_event):
896 Fix segv due to improper use of isprint(c). [bug #107254]
898 2003-02-24 Bill Haneman <bill.haneman@sun.com>
901 (get_accessible_text_boundary_type):
902 Move default return value to (new) default case in switch.
903 (get_accessible_text_clip_type):
904 Move default return value to (new) default case in switch.
906 * libspi/application.c:
907 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
908 Remove unused methods.
909 (impl_accessibility_application_register_object_event_listener):
910 Remove unused methods.
913 Added #include of <math.h>.
915 * registryd/deviceeventcontroller.c:
916 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
917 we don't currently use this method.
918 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
920 (impl_generate_key_event):
921 Remove unused variables.
922 (impl_generate_mouse_event):
923 Initialize button to zero, just in case we get an invalid
924 input. Added support for mouse buttons 4 and 5.
925 (spi_device_event_controller_new):
926 Removed unused variable declaration for 'private'.
928 Added #include of <gdk/gdk.h>
930 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
932 * configure.in: Update to work when X is not installed in expected
933 location. Fixes bug #105836.
935 * atk-bridge/bridge.c
936 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
938 (spi_atk_register_event_listener): Add signal listener for
940 (spi_atk_bridge_signal_listener): Event event when link-selected
941 signal is emitted. (bug #104622)
943 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
944 on returned string. (bug #105291)
946 * test/event-listener-test.c: Add test for link-selected.
948 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
950 * atk-bridge/Makefile.am: Correct typo in previous commit.
952 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
954 * atk-bridge/Makefile.am: Allow for build directory to be different
955 from source directory
957 * registryd/Makefile.am: Allow for build directory to be different
958 from source directory
962 2003-01-29 Bill Haneman <bill.haneman@sun.com>
965 Fixed dependencies for libcspi so that libspi gets pulled in
966 properly. Fixes 104741.
970 Clean up inline docs a little.
972 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
974 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
975 This is done by implementing AtkComponent for SpiAtkDesktop, which is
976 the AtkObject within an SpiDesktop.
977 This addresses bug #101524.
979 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
980 Remove call to gdk_init().
982 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
983 so that Display is set when SpiDesktop is created.
985 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
987 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
988 This fixes bug #102830.
990 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
992 * test/test-simple.c: Update to take account of fact that GailButton
993 now implements AtkText.
994 (create_text_window): Set name on AtkObject for GtkEntry.
995 (validate_accessible): Check accessible name before calling test_text().
997 * libspi/Makefile.am: Fix problem with building outside of source
998 directory. Bug #98120.
1000 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1001 typo in documentation comments. Bug #94275.
1003 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1005 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1007 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1010 Add includes to avoid compiler warnings on Solaris.
1011 (impl_getRangeExtents): Bug fix.
1013 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1015 Fix for 100944, [API addition approved by Gman and murrayc].
1022 * idl/Accessibility_Text.idl:
1023 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1024 (Text::getRangeExtents): New method for efficient
1025 bounds query of a text range.
1026 (Text::getBoundedRanges): New method for efficient
1027 clipping of text to bounding boxes.
1028 (unImplemented7, unImplemented8):
1029 Removed these padding methods to preserve bincompat.
1032 (impl_getRangeExtents): implementation of new IDL.
1033 (impl_getBoundedRanges): implementation of new IDL.
1034 (SpiTextRect): Internal use struct.
1035 (_spi_text_rect_union): internal method, calculates union of two
1036 SpiTextRect bounding rects.
1037 (_spi_text_range_seq_from_gslist): internal method, allows us
1038 to build our sequence efficiently as a gslist then convert it
1040 (_spi_bounds_contain): internal method, determines whether
1041 a text character is "in" or "out" of a clip rect according to
1042 values of TEXT_CLIP_TYPE.
1043 (spi_text_class_init): Initialize the new methods in the epv.
1046 (AccessibleTextClipType): New enum used by screen review api.
1047 (AccessibleTextRange): New struct used by screen review api.
1048 (AccessibleText_getRangeExtents):
1049 cspi binding for Accessibility_Text_getRangeExtents.
1050 (AccessibleText_getBoundedRanges):
1051 cspi binding for Accessibility_Text_getBoundedRanges.
1052 (AccessibleTextRange_freeRanges): convenience method.
1055 (AccessibleText_getRangeExtents):
1056 cspi binding for Accessibility_Text_getRangeExtents.
1057 (AccessibleText_getBoundedRanges):
1058 cspi binding for Accessibility_Text_getBoundedRanges.
1059 (AccessibleTextRange_freeRanges): convenience method.
1060 (get_accessible_text_clip_type): internal conversion method.
1061 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1063 * registryd/deviceeventcontroller.c:
1064 (spi_dec_mouse_check):
1065 Improved behavior for mouse:abs events
1066 [same granularity as mouse:rel events, and no
1067 events when mouse is idle].
1069 2002-12-16 Michael Meeks <michael@ximian.com>
1071 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1073 * libspi/stateset.c (state_spi_to_atk): split out
1074 ( fix several remote array bounds nasties )
1075 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1076 (impl_remove): make safe from array bounds issues.
1077 (spi_atk_state_from_spi_state): impl.
1079 * libspi/stateset.h (spi_state_set_cache_is_empty):
1080 add a set of wrapper defines to get layering right.
1082 * cspi/spi_accessible.c: update state set stuff to
1085 2002-12-14 Michael Meeks <michael@ximian.com>
1087 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1088 to avoid 2 roundtrips to the registry per key event
1089 (spi_atk_bridge_key_listener): upd.
1090 (deregister_application): release the dec.
1092 * registryd/registry.c (notify_listeners_cb):
1093 bin lots of re-enterant complexity - we no longer
1094 do a round-trip bonobo ref here, ensure that a single
1095 listener's exception failure won't poison all other
1097 (impl_registry_notify_event): bin obvious memory leak.
1099 2002-12-13 Michael Meeks <michael@ximian.com>
1101 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1102 init the ev so the error is meaningful.
1103 (spi_atk_bridge_key_listener): ditto.
1105 * cspi/spi_main.c (cspi_ev): init the ev so we start
1106 with a clean slate, otherwise the first exception
1107 kills us completely.
1109 * cspi/spi_text.c (get_accessible_text_boundary_type):
1110 add a fallthrough for no warnings.
1112 * cspi/spi_registry.c: prune unused warnings.
1114 * cspi/spi_main.c (cspi_object_take): fix
1115 mind-blowing brokenness ( by watching the compile
1118 * cspi/spi_accessible.c (Accessible_getStateSet):
1119 re-impl. to use an AtkStateSet.
1120 (spi_state_type_from_accessible_state),
1121 (init_state_table): bin these.
1123 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1125 (atk_state_set_from_accessibility_state_set): here.
1127 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1128 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1129 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1130 (AccessibleStateSet_add, AccessibleStateSet_remove),
1131 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1132 (AccessibleStateSet_isEmpty): re-write to use a local
1135 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1137 * configure.in: Revved to 1.1.7 (new keymask vals).
1139 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1141 * libspi/keymasks.h:
1142 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1144 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1147 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1148 to compare two CORBA_TypeCodes.
1149 (cspi_internal_event_add): Silence warning from FORTE compiler.
1151 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1152 avoid implicit declaration of functions.
1154 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1156 * atk-bridge/bridge.c:
1157 (spi_atk_bridge_init_event_type_consts): Store signal id for
1158 active-descendant-changed signal.
1159 (spi_atk_register_event_listeners): Add signal listener for
1160 active-descendant-changed signal,
1161 (spi_atk_bridge_signal_listener): Move code in function
1162 spi_atk-signal_emit_event() into this function.
1163 Add support for active-descendant-changed
1164 Update support for child-changed signal.
1165 (spi_bridge_window_event_listener): Silence warning.
1167 * libspi/spi_private.[ch]:
1168 (spi_init_any_object): Change second parameter from CORBA_Object to
1170 Omit call to CORBA_Object_duplicate().
1171 Set CORBA_any's _value to CORBA_Object*.
1173 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1179 (AccessibleEvent_ref, AccessibleEvent_unref):
1180 New methods, for persisting an event outside the emission context.
1181 Must be used if the new accessor methods are to be called
1182 outside of the event listener's callback.
1184 * cspi/bonobo/cspi-bonobo.c:
1185 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1186 as second parameter instead of NULL, so we can call
1187 cspi_check_ev afterwards.
1190 (cspi_object_take): New internal method,
1191 converts a CORBA_Object reference to a hard ref on
1192 an Accessible if possible, returning NULL if the object
1193 reference is invalid or an Accessible * otherwise.
1196 (AccessibleEvent_ref):
1197 Increment the event's internal private refcount, and
1198 add the event's internal struct to an internal cache
1199 if it's not already there.
1200 (AccessibleEvent_unref):
1201 Decrement the event's refcount and remove it from
1202 the cspi event cache if refcount==0.
1203 (cspi_event_compare): New private method.
1204 Compares two event structs via their ids. Used
1206 (cspi_internal_event_lookup): New private method.
1207 (cspi_internal_event_check): New private method,
1208 a 0-order sanity check for events to make sure their
1209 private data is intact.
1210 (cspi_internal_event_add, cspi_internal_event_remove):
1211 New private methods for managiing the event cache.
1213 * cspi/bonobo/cspi-bonobo-listener.c:
1215 Initialize the new private data elements (id, magic, ref_count).
1217 * atk-bridge/bridge.c:
1218 (spi_atk_bridge_signal_listener):
1219 Fixed bug #100530, passing wrong params to emission func.
1221 * registryd/deviceeventcontroller.c:
1222 (spi_dec_button_update_and_emit):
1223 Fixed type in mask bit operations; fix for #99799.
1225 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1227 Removed some of the more dangerous workarounds from
1228 previous commit; they are only needed by GOK, which
1229 in reality should be using another method to accomplish
1230 the goals. So on reconsideration some of the workarounds
1231 need to be reverted:
1233 * registryd/deviceeventcontroller.c:
1234 (spi_keycodes_contain, spi_dec_init_keycode_list):
1235 Removed these methods, used only by a nasty hack to try
1236 and detect whether a key synthesis should be allowed
1237 to reset the XKB latch state or not. This code was only
1238 required to work around an interaction between GOK,
1239 button events, and XKB.
1240 (impl_generate_key_event):
1241 Removed hack at end of key generation that tried to
1242 "do the right thing" if XKB latch keys were generated
1243 in the midst of button press/release pairs.
1246 Added a check for HAVE_XINPUT. Not normally used yet.
1248 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1250 Workarounds and fixes for mouse event/XKB interaction.
1252 * registryd/deviceeventcontroller.c:
1253 (spi_keycodes_contain, spi_dec_init_keycode_list):
1254 New internal methods.
1255 (spi_dec_set_unlatch_pending):
1256 Split the method that tells XKB to expect an
1257 unlatch (and revert it) out of the rest of the
1258 event handling code. This method is called by the
1259 two mouse event handlers (the poll and the filter).
1260 (spi_dec_update_and_emit, spi_dec_mouse_check):
1261 New methods split from spi_dec_poll_mouse_moved.
1262 The second one is now called from inside the filterFn
1263 when an XKB delatch event is received, to determine
1264 whether to revert the delatch or not.
1265 (spi_poll_mouse_moved): Refactor; also we can now
1266 properly handle the case where multiple button states
1267 have changed between polling cycles and we didn't get
1268 notified due to another client's grab.
1270 Synchronize the server while handling an XKB notification.
1271 Ugly, but apparently necessary to avoid nasty races.
1272 Check the mouse state on receipt of an XKB latch change,
1273 to decide whether to revert the latch or not. (Latches are
1274 reverted if there is an immediately preceding mouse button
1275 event that a client has consumed, in which case we don't want
1276 the user to see the side-effect of the event).
1277 (spi_device_event_controller_forward_mouse_event):
1278 Check for modifier events and fire before resetting mouse_mask_state,
1279 prevents losing modifier events.
1281 (impl_generate_keyboard_event):
1282 If we've just generated a keyboard event for a non-shift key,
1283 we don't want to revert the pending XKB latch.
1284 Otherwise, check the modifier state (via a call to
1285 spi_dev_mouse_check) and set the relatch mask to
1286 that state before returning.
1288 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1291 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1294 * atk-bridge/bridge.c:
1295 (spi_atk_register_event_listeners):
1296 Don't re-register for ATK events if the registry has died
1297 and the app needs to re-register; the ATK listeners are in
1298 process and doing so will cause duplicate emission.
1300 * registryd/deviceeventcontroller.c:
1301 (spi_poll_mouse_moved):
1302 Reformat the source, detect and emit multiple button-change
1303 events (i.e. if multiple buttons have changed between poll
1305 Add code to detect mouse-down events even when the pointer
1306 is grabbed; workaround for GOK bug 98420.
1307 (spi_controller_register_with_devices):
1308 Call XTestGrabControl with 'impervious' flag set to True,
1309 allows us to synthesize events and query the pointer even during
1310 an active grab by another client.
1311 (spi_device_event_controller_forward_mouse_event):
1312 Set the mouse_mask_state to the mouse_button_state from
1313 the intercepted event, to synchronize the grab listener with
1316 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1318 * cspi/spi_accessible.c:
1319 (AccessibleRole_getName):
1320 Added necessary strings for making this (deprecated)
1321 method work with the new role types.
1322 (init_role_table, role_table):
1323 Added definition of SPI_ROLE_APPLICATION.
1325 * libspi/spi-roletypes.h:
1326 Added SPI_ROLE_APPLICATION.
1328 * idl/Accessibility_Role.idl:
1329 Added ROLE_APPLICATION.
1331 * docs/reference/cspi/at-spi-cspi-decl.txt:
1332 Added SPI_ROLE_APPLICATION to docs.
1334 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1336 * cspi/spi_accessible.c
1337 (cspi_init_role_table): Do not write beyond end of role_table.
1338 (Accessible_getRole): Use correct type for value returned by
1339 Accessibility_Accessible_getRole().
1341 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1342 beyond end of role_table. (This fixes bug #98269)
1344 * libspi/application.c: Add include file spi-private.h for
1345 definition of spi_init_any_nil.
1347 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1351 * libspi/spi-private.h:
1352 Added DGB() macro, and extern int _dbg declaration.
1354 * registryd/registry.c:
1355 (definitions) storage for _dbg.
1356 (spi_registry_init):
1357 Get environment variable "AT_SPI_DEBUG".
1358 (spi_registry_set_debug):
1359 New method, to initialize _dbg value.
1360 (spi_listener_struct_new, spi_registry_object_finalize):
1361 (notify_listeners_cb):
1362 Changed fprintfs to use DBG and g_warning().
1364 * registryd/deviceeventcontroller.c:
1365 (_deregister_keygrab, spi_controller_register_device_listener):
1366 Changed debug/warning messages to use DBG macro.
1368 * libspi/listener.c:
1369 (impl_notify_event):
1370 Changed warning messages to use DBG macro and g_warning().
1372 * atk-bridge/bridge.c:
1373 (atk_bridge_init, spi_atk_bridge_get_registry):
1374 (spi_atk_bridge_exit_func):
1375 (spi_atk_bridge_property_event_listener):
1376 Changed status, warning, and error messages to use
1377 g_warning, g_message, and DBG macros.
1380 Read the state of the AT_SPI_DEBUG environment variable
1381 and set a local '_dbg' accordingly.
1383 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1385 FIXES for 98836, 98842, other bugs.
1388 Revved to 1.1.4, interface-age=4, binary-age=4.
1390 * registryd/deviceeventcontroller.c:
1392 Fixed crasher bug in last_mouse_pos initialization.
1394 * registryd/registry.c:
1395 (desktop_add_application, desktop_remove_application):
1396 Added (and then commented out) some support for
1397 object context marshalling. [TODO]
1399 * atk-bridge/bridge.c:
1400 (spi_atk_bridge_event_context_create):
1401 Commented out object context creation until it can
1402 be properly tested and debugged.
1404 * registryd/registry.c:
1405 (impl_registry_notify_event):
1406 Fixed crasher bug, we were calling
1407 spi_re_entrant_list_foreach () with an empty list.
1409 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1411 * idl/Accessibility_Action.idl:
1412 * idl/Accessibility_Component.idl:
1413 * idl/Accessibility_Desktop.idl:
1414 * idl/Accessibility_Event.idl:
1415 * idl/Accessibility_Hyperlink.idl:
1416 * idl/Accessibility_Image.idl:
1417 * idl/Accessibility_Relation.idl:
1418 * idl/Accessibility_Selection.idl:
1419 * idl/Accessibility_State.idl:
1420 * idl/Accessibility_Value.idl:
1421 Updated unimplemented slot count to minimum of
1422 four for all interfaces, for ABI freeze.
1424 * idl/Accessibility_EditableText.idl:
1425 * idl/Accessibility_Text.idl:
1426 Updated unimplemented slot count to six
1429 * idl/Accessibility_Registry.idl:
1430 Updated unimplemented slot count to six
1431 (also for DeviceEventController),
1434 * idl/Accessibility_Table.idl:
1435 Updated unimplemented slot count to eight,
1438 * idl/Accessibility_Event.idl:
1439 Added CORBA_any "any_data" member to Event struct.
1441 * idl/Accessibility_Event.idl:
1442 Added CORBA_any "any_data" member to Event struct.
1444 * atk-bridge/bridge.c:
1446 atk_signal_text_changed, atk_signal_child_changed,
1447 signal ids queried from gtype system.
1448 (AtkBridgeEventContextType): New enum.
1449 (AtkBridgeEventContextData): New struct.
1450 (AtkBridgeEventContext): New struct.
1451 (atk_bridge_init_event_type_consts):
1452 New method, initializes type contants for comparison
1453 prior to emit_eventv.
1454 (atk_bridge_event_context_init): New method,
1455 initializes a CORBA_any from an AtkBridgeEventContext.
1456 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1457 initialize the event.any_data struct.
1458 (spi_atk_bridge_event_context_create): New method,
1459 creates an AtkBridgeEventContext from signal/event info.
1460 (spi_atk_bridge_event_context_free): New method.
1461 (spi_atk_emit_eventv): Changed to take an
1462 AtkBridgeEventContext parameter. We now initialize
1463 the event.any_data member prior to notifying the
1464 Registry, via the AtkBridgeEventContext.
1465 (spi_atk_bridge_property_event_listener):
1466 (spi_atk_bridge_state_event_listener):
1467 Match emit_eventv signature.
1468 (spi_atk_bridge_object_event_listener):
1469 Match emit_eventv signature, and create an
1470 event context from the event details.
1471 Free the event context afterwards.
1472 (spi_atk_bridge_window_event_listener):
1473 Create an event context, pass it to the
1477 (AccessibleEvent_getContextString):
1478 (AccessibleEvent_getContextObject):
1479 New methods, allow query of AccessibleEvent objects
1480 for more context details (via the "any_data" member
1481 of the Event struct, above).
1484 Definitions for AccessibleEvent_getContextString
1485 and AccessibleEvent_getContextObject.
1487 * cspi/spi_listener.h:
1488 (InternalEvent): New struct.
1491 (AccessibleEvent_getContextString):
1492 (AccessibleEvent_getContextObject):
1493 Implementations of new methods, for obtaining
1494 additional context information from some event types.
1496 * cspi/spi_registry.c:
1497 (SPI_registerGlobalEventListener):
1498 Added mention of active-descendant-changed event in docs.
1500 * cspi/cspi-bonobo-listener.c:
1502 Marshal the any into the AccessibleEvent via
1505 * libspi/spi-private.h:
1506 #include <orbit/orbit.h>
1508 (spi_init_any_string):
1509 (spi_init_any_object):
1510 New convenience function declarations.
1514 (spi_init_any_string):
1515 (spi_init_any_object):
1516 New convenience function implementations.
1518 * registryd/deviceeventcontroller.c:
1519 (spi_poll_dec_mouse_moved):
1520 (spi_device_event_controller_forward_mous_event):
1521 Initialize any_data member of event.
1522 (spi_deregister_controller_device_listener):
1523 Fix incorrect param pass which was preventing deregistration.
1525 * registryd/registry.c:
1526 (desktop_add_application):
1527 (desktop_remove_application):
1528 Add object data to event's any_data before dispatch.
1530 Fix for error messages from GAIL.
1532 * test/event-listener-test.c:
1533 Test new ContextString and "any_data" API:
1534 (report_text_event): New method query and output context string.
1535 (main): register a new text listener with report_text_event
1538 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1540 Fixes for bugs 98127 and 97914.
1541 * cspi/spi-roletypes.h:
1542 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1544 * cspi/spi-statetypes.h:
1545 Added SPI_STATE_MANAGES_DESCENDANTS
1547 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1548 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1549 * cspi/spi_accessible.c:
1550 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1551 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1552 Accessibility_STATE_MANAGES_DESCENDANTS
1553 * libspi/accessible.c:
1554 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1555 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1556 As requested by Bill, I also cleaned up the alignment.
1557 * libspi/relation.c:
1558 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1559 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1560 * libspi/stateset.c:
1561 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1562 Accessibility_STATE_MANAGES_DESCENDANTS
1563 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1564 Document changes reflecting modifications to roles.
1565 * docs/reference/cspi/tmpl/spi_relation.sgml:
1566 Document changes reflecting modifications to relations.
1567 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1568 Document changes reflecting modifications to states.
1570 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1573 Revved to 1.1.3, interface-age=3, binary-age=3.
1574 Added REBUILD macro.
1577 Removed accessx-gui from the tests, since we have a nice
1578 keyboard accessibility capplet now :-)
1580 * test/keysynth-demo.c:
1581 (increment_scan): removed do-nothing default: case,
1584 * test/visual-bell.c:
1585 (main) : removed do-nothing default: case,
1588 * cspi/spi_action.c:
1589 (AccessibleAction_getKeyBinding_):
1590 Documented keybinding string format.
1594 (AccessibleText_getAttributes):
1595 Documented the text attribute string format.
1596 It's changed to use semicolon delimiters also,
1597 to prevent clashes with CSS attributes, but the old
1598 trick of looking for ", " strings will still work
1599 (as unreliably as ever). Fix for bug related to 97916.
1602 Include <cspi/bonobo/cspi-bonobo-listener.h>
1603 Fixes build warning.
1604 (SPI_freeAccessibleKeySet):
1605 (AccessibleKeystrokeListener_addCallback):
1606 (AccessibleKeystrokeListener_removeCallback):
1607 Modify to use AccessibleDeviceListener API internally,
1608 instead of AccessibleKeystrokeListener.
1610 * idl/Accessibility_Event.idl:
1611 Added two more empty slots to EventListener (for a total of four).
1613 * idl/Accessibility_Accessible.idl:
1614 Added four empty slots to Accessible interface.
1616 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1618 * idl/Accessibility_Registry.idl:
1619 (KeyEventType, EventType):
1620 Marked KeyEventType as deprecated; it duplicates
1621 functionality of EventType, which has been extended to
1622 include Mouse-button events.
1623 (KeyEventTypeSeq): defined in terms of EventType.
1624 (registerDeviceEventListener, deregisterDeviceEventListener):
1625 New methods, for managing listeners to device events,
1626 which potentially may consume them.
1629 Added definition for AccessibleDeviceListener.
1631 * cspi/spi-listener.h:
1632 (enum AccessibleDeviceEventType):
1633 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1634 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1635 for backwards compat.
1636 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1637 and typedef'd AccessibleKeystroke to it for back-compat.
1638 (AccessibleDeviceListenerCB):
1639 New function prototype typedef.
1642 (AccessibleDeviceEventMask): New typedef.
1643 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1644 (AccessibleKeyMaskType):
1645 Set equivalent to AccessibleModifierMaskType for back-compat.
1646 (SPI_createAccessibleKeystrokeListener):
1647 (AccessibleKeystrokeListener_unref):
1648 Deprecated in favor of equivalent (better-named) new API below..
1649 keystroke listeners are like all device listeners.
1650 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1651 New API names for old features :-).
1652 (AccessibleDeviceListener_addCallback):
1653 (AccessibleDeviceListener_removeCallback):
1654 (SPI_registerDeviceEventListener):
1655 (SPI_deregisterDeviceEventListener):
1659 (SPI_createAccessibleKeystrokeListener):
1660 Use new preferred API, cspi_device_listener_new() and
1661 cspi_device_listener_add_cb().
1662 (AccessibleKeystrokeListener_removeCallback):
1663 Use new preferred API, cspi_device_listener_remove_cb().
1664 (AccessibleKeystrokeListener_unref):
1665 Use new preferred API, cspi_device_listener_unref().
1666 (SPI_createAccessibleDeviceListener):
1667 (AccessibleDeviceListener_addCallback):
1668 (AccessibleDeviceListener_removeCallback):
1669 Implementation of new API.
1671 * cspi/spi_registry.c:
1672 (SPI_registerDeviceEventListener):
1673 (SPI_deregisterDeviceEventListener):
1674 Implementation of new API. Fixed memory leak and removed need to
1675 allocate EventTypeSeq (thanks Michael for catching this).
1676 Squashed a wayward CORBA_exception_free that shouldn't get called.
1678 * cspi/bonobo/cspi-bonobo-listener.c:
1680 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1681 (cspi_key_event): renamed to cspi_device_event().
1682 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1683 Extended to handle mouse button events as well as key events.
1684 (CSpiKeystrokeListener):
1685 Class superceded by CSpiDeviceListener.
1686 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1687 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1689 * cspi/bonobo/cspi-bonobo-listener.h:
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 * libspi/Makefile.am:
1696 Replaced keystrokelistener.h and keystrokelistener.c
1697 with devicelistener.h and devicelistener.c; keystrokelisener.h
1698 stub retained for back-compat.
1700 * libspi/keystrokelistener.c:
1704 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1706 * registryd/deviceeventcontroller.c:
1707 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1708 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1709 (DEControllerPrivateData): Added xkb settings data.
1710 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1711 button release events (which can't be captured via XGrabButton).
1712 Don't dispatch via the 'normal' event mechanism if the device event was
1714 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1715 Handle the typeseq data in its new location (see above).
1716 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1717 New methods, for "generic" device listeners.
1718 (spi_controller_register_device_listener):
1719 Now handle mouse event listeners as well as key listeners.
1720 (spi_controller_notify_mouselisteners):
1721 New internal method.
1722 (spi_device_event_controller_forward_mouse_event):
1723 Now we notify mouse device listeners as well as generating the
1724 non-consumable "mouse:" events.
1726 We must check and restore the XKB
1727 modifier map if we consume the event, since the act of triggering
1728 a mouse event will normally reset the XKB latch. This is required for
1730 (spi_controller_register_with_devices):
1731 Load the XKB settings when registering, and register for XKB
1732 state notify events.
1733 (spi_key_eventtype_seq_contains_event):
1734 Renamed spi_eventtype_seq_contains_event, since it's used
1735 internally for all device event types now.
1736 (spi_key_event_matches_listener):
1737 Uses spi_eventtype_seq_contains_event now.
1738 (spi_device_event_controller_object_finalize):
1739 Free the private data and the XkbKeyboard struct.
1740 (impl_register_device_listener, impl_deregister_device_listener):
1741 Implementation of new IDL.
1742 (spi_deregister_controller_device_listener):
1743 New internal method.
1744 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1745 More efficient implementation, we don't have to create a new
1746 XkbControls structure every time we query.
1747 (spi_device_event_controller_class_init):
1748 Initialize the epv entries for the new IDL. Assign the
1749 "spi-dec-private" quark.
1750 (spi_device_event_controller_init):
1751 Initialize the private data.
1752 (spi_device_event_controller_forward_key_event):
1753 Removed a bogus CORBA_exception_free() call.
1755 * registryd/deviceeventcontroller.h:
1756 Replaced inclusion of keystrokelistener.h with
1759 * test/event-listener-test.c:
1760 (report_mouse_event):
1763 Added mouse-event device listener.
1765 * test/test-simple.c:
1766 (create_test_window):
1767 Fixed regression (we were instantiating a GtkRange,
1768 which is now an abstract class). Also fixed to match
1769 existing AtkRole names, this seems to have changed in ATK
1770 awhile ago; too late now I think, and the new
1771 mechanism is at least elegant and consistent with the
1772 glib enum "nick" APIs.
1774 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1776 * idl/Accessibility_Relation.idl:
1777 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1778 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1779 * idl/Accessibility_Role.idl:
1780 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1781 * idl/Accessibility_State.idl:
1782 add STATE_MANAGES_DESCENDANTS
1783 * test/event-listener-test.c:
1784 Added a listener for active-descendant events.
1786 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1788 * atk-bridge/bridge.c
1789 (atk_bridge_init): If application is Bonobo component wait until top
1790 level is added before registering
1791 (spi_atk_bridge_do_registration): New function which contains code,
1792 formerly in atk_bridge_init, to do application registration.
1793 (spi_atk_bridge_toplevel_added): Signal called when top level
1794 added to Bonobo component
1796 This fixes bug #83134.
1798 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1800 * registryd/deviceeventcontroller.c
1801 Fixed compilation error caused by calling gettimeofday()
1804 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1809 Added template for HAVE_XKB.
1812 Changes to check for XKB, and to set the HAVE_XKB #define if it
1815 * libspi/listener.c:
1816 ()impl_notify_event): Make failure to get event source name
1819 * registryd/deviceeventcontroller.c:
1820 (#include): include X11/XKBlib.h.
1821 (DEControllerPrivateData) : New struct.
1822 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1824 (dec_synth_keycode_press) (dec_synth_keycode_release):
1825 New methods; split the key synthesis code into these methods.
1826 They check XKB settings before determining the "time" values to
1827 pass to Xtest; this fixes bug #95828.
1828 (impl_generate_keyboard_event): Changed to use methods above,
1829 instead of callng Xtest directly.
1830 (spi_device_event_controller_init): Initialize new privae struct s
1832 (spi_device_event_controllr_object_finalize):
1833 Free the (new) private data.
1835 * registryd/deviceeventcontroller.h:
1836 Add new gpointer to end of struct data.
1838 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1841 Incremented revision to 1.1.2, SONAME is still '.so', library
1842 extensions are ".so.0.0.2".
1844 * registryd/deviceeventcontroller.c:
1845 FIXES FOR #93592 and #95940.
1846 (statics): renamed mouse_button_state to mouse_mask_state,
1847 added key_modifier_mask.
1848 (spi_dec_poll_mouse_moved):
1849 Added key modifier checks, and emit "keyboard:modifiers"
1850 events when the key modifiers currently in use change.
1851 Also generate "mouse:abs" events periodically, even if the mouse
1852 is stationary (should we?).
1853 Alternatively we could generate "mouse:abs" events for either all
1854 mouse movements, or every 'nth' mouse movement, or at the
1855 beginning and end of every "active" mouse period.
1857 * test/event-listener-test.c:
1858 (main): Added listener for "keyboard:modifiers" events.
1860 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1862 * libspi/keymasks.h:
1863 Added key mask #defines for mouse buttons; e.g.
1864 SPI_KEYMASK_BUTTON1, etc.
1867 Incremented dependency on ATK to version 1.1.0. (This dependency
1868 is probably premature but will soon be real enough).
1870 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1872 * libspi/hyperlink.[ch]
1873 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1874 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1877 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1882 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1884 * registryd/deviceeventcontroller.c
1885 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1886 events to be ignored.
1887 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1888 keyboard_mode so that XAllowEvents() can be called.
1892 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1894 * cspi/spi-accessible.c: Correct names of roles returned by
1895 AccessibleRole_getName(). Fixes bug #95055.
1897 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1899 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1902 * registryd/registry.c
1903 (desktop_remove_application: Write diagnostic message to stderr for
1906 (impl_accessibility_registry_deregister_global_event_listener):
1907 Correct size of lists array. This addresses bug #94555).
1909 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1911 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1914 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1916 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1919 * registryd/registry.c (impl_registry_notify_event): Remove
1920 unnecessary call to parser_event_type().
1922 * docs/reference/cspi/tmpl/spi_component.sgml:
1923 Add reference to SPI_LAYER_WINDOW.
1925 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
1927 * registryd/registry.c
1928 (desktop_add_application): Remove leak.
1929 (desktop_remove_application): Remove leak.
1930 (parser_event_type): Remove leak.
1932 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
1934 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
1935 bogus call to CORBA_string_dup(). Also removed unnecessary
1936 g_string_dup/g_free calls.
1938 2002-09-13 Bill Haneman <bill.haneman@sun.com>
1940 * registryd/deviceeventcontroller.c:
1941 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
1943 * test/event-listener-test.c:
1944 main: commented out three redundant listeners, to reduce output
1945 noise. (They still are potentially useful for testing).
1948 2002-09-13 Michael Meeks <michael@ximian.com>
1950 * Update all the copyrights to include Ximian.
1952 2002-09-06 Mark McLoughlin <mark@skynet.ie>
1954 * cspi/spi.h: add SPI_LAYER_WINDOW.
1956 * cspi/spi_component.c: (AccessibleComponent_getLayer):
1957 add Accessibility_LAYER_WINDOW case.
1959 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
1961 * libspi/component.c: (impl_accessibility_component_get_layer):
1962 add ATK_LAYER_WINDOW case.
1964 2002-08-28 Bill Haneman <bill.haneman@sun.com>
1966 * configure.in: incremented micro version.
1968 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
1970 2002-08-20 Bill Haneman <bill.haneman@sun.com>
1973 Clarified and reworded our commit policy.
1976 Started an API "todo" addition list for 2.2.
1979 (impl_getSelection):
1980 Free char pointer from atk_text_get_selection, which was being leaked.
1982 2002-08-19 Bill Haneman <bill.haneman@sun.com>
1985 Small revision to author acknowledgement.
1987 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
1989 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
1990 If signal has detail add it to the type of the event.
1993 2002-08-12 Michael Meeks <michael@ximian.com>
1995 * test/test-simple.c (global_listener_cb): bin bogosity.
1996 (test_keylisteners): disable, still doesn't work reliably,
1997 certainly not on my system anyway.
1999 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2000 don't leak a reference on the DEC. This round-trip
2001 fetching of the DEC per keystroke sucks, it should be
2004 * cspi/spi-private.h,
2005 * cspi/cspi-lowlevel.h,
2006 * cspi/bonobo/cspi-bonobo-listener.[ch],
2007 * cspi/bonobo/cspi-bonobo.c: get the copyright
2008 notices better - there is still a large amount of
2009 work in at-spi falsely attributed solely to Sun.
2011 * cspi/spi_main.c (cspi_object_ref): kill bogus
2012 hash lookup, just increment the ref.
2013 (SPI_freeString): make explicit the fact that we
2014 handle NULL strings just fine.
2015 (report_leaked_ref): obey coding standards.
2016 (cspi_object_hash, cspi_object_equal): kill retval.
2017 (cspi_object_release): only release if not on loan.
2018 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2019 (cspi_object_borrow, cspi_object_return): impl.
2021 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2022 use cspi_object_borrow / return.
2024 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2026 * cspi/bonobo/cspi-bonobo-listener.c:
2028 Don't call cspi_oject_new() because this is creating a new Accessible
2029 every single time that an event is fired. This causes ATs like at-poke
2030 to nolonger recognise the source of the event and thus ignore it.
2031 Re-use the object from the cache, ref it and then unref it after the
2032 listeners have been called.
2034 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2036 * test/event-listener-test.c:
2037 Added command-line options to disable mouse events (m) and
2040 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2042 * configure.in: Update required versions of ATK, GTK+ and GAIL
2044 * cspi-1.0.pc.in: Add dependency for X include files
2047 * cspi/bonobo/Makefile.am:
2048 Add $(X_CFLAGS) so that X include files
2049 are picked up even if not in standard place (bug #71686)
2051 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2053 * registryd/deviceeventcontroller.c: fix for 84261
2054 (spi_dec_mouse_moved):
2055 Added test of mouse button mask, so that we can detect mouse
2056 button release. Unfortunately we can't otherwise detect mouse
2057 button release events without consuming the mouse press event,
2058 because of the way XGrabButton works. This means that our mouse
2059 release events have a latency dependent on the polling period
2060 while the mouse button is down. At least in this case we only
2061 have to poll while the button is down, and not at other times.
2062 If the button masks don't match with what the last press event
2063 reported, we report the appropriate button release event.
2064 (spi_dec_ungrab_mouse):
2065 New method (not yet called).
2066 (spi_device_event_controller_forward_mouse_event):
2067 New method, sends mouse press event from GdkFilter.
2068 (spi_dec_init_mouse_listener):
2069 Added code to call XGrabButton, redirecting mouse button events to
2070 the root window and our Gdk event loop.
2072 Added code to filter mouse button events, and reordered.
2074 * test/event-listener-test.c:
2076 Added registration for mouse events of type "mouse:button".
2078 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2080 * registryd/deviceeventcontroller.c: partial fix for 84261
2081 (spi_dec_poll_mouse_idle):
2082 New method, a timeout which checks to see if the mouse
2084 (spi_dec_poll_mouse_moving):
2085 A timeout to be called when mouse motion is underway.
2086 (spi_dec_poll_mouse_moved):
2087 A method which fires an event if the mouse has moved, and reports
2088 whether or not it did so.
2089 (spi_dec_init_mouse_listener):
2090 A method which sets up the timeouts above.
2091 (spi_device_event_controller_new):
2092 Now calls spi_dec_init_mouse_listener.
2094 * registryd/registry.c:
2095 (spi_registry_init):
2096 Now we initialize the device event controller when the registry is
2097 initialized, instead of waiting until a client has requested a key
2098 event notification; this is because we need the event controller
2099 for mouse events, but the mouse event registration API is a
2100 "registry" call and doesn't explicitly call the
2101 deviceeventcontroller.
2102 We now report mouse motion events with a 100 ms idle latency and
2103 a 20 ms granularity when motion is in progress.
2105 * test/event-listener-test.c:
2107 We now register the "detail listener" for events of type
2108 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2109 delivered only for the first mouse event received, and thereafter
2110 "mouse:abs" events are delivered.)
2112 * cspi/spi_registry.c:
2113 DOCS: Documented the above mouse event typestrings.
2115 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2117 Happy Summer Solstice...
2119 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2120 (spi_controller_notify_keylisteners):
2121 Changes to remove a listener from the listener list, freeing its
2122 open keygrabs, if a notification to that listener fails. This
2123 means that although a dead listener can continue to hold a passive
2124 keygrab, a maximum of one dispatch to such a listener can fail
2125 before the listener is removed from the list, thus the keygrab
2126 will be released on the next occurrence.
2127 As part of this fix:
2128 (spi_notify_keylisteners):
2129 Renamed to spi_controller_notify_keylisteners, as the controller
2130 instance must now be passed as an argument.
2131 The copied 'notify' GList is now a list of DEControllerKeyListener
2132 objects, since we need more than just the CORBA reference if a
2133 notify fails and we need to deregister the listener.
2134 (impl_notify_listeners_sync):
2135 (impl_notify_listeners_async):
2136 (spi_device_event_controller_forward_key_event):
2137 Modify use of notify_keylisteners in accordance with above
2139 (spi_deregister_controller_key_listener):
2140 New method introduced by refactoring, from
2141 impl_deregister_keystroke_listener.
2142 (impl_deregister_keystroke_listener):
2143 Call spi_deregister_controller_key_listener.
2144 (spi_key_listener_clone):
2145 New method to copy a key listner without doing a 'ref' on the
2146 remote object instance; used to create a notifier list.
2147 (spi_key_listener_data_free):
2148 New method, frees data without unreffing the source.
2150 (spi_key_listener_clone_free): new method.
2151 (spi_key_listener_free):
2152 refactored to call spi_key_listener_data_free.
2154 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2156 * registryd/registry.c: [fix for bug 86048]
2157 (notify_listeners_cb):
2158 Clear CORBA system exceptions which occur when notifying
2159 listeners, before returning to the source of the original event,
2160 since the event source doesn't care if the relayed notify failed.
2161 In other words, don't complain to the atk-bridge if the registry
2162 could not notify all its listeners, that's no fault of the
2163 application and thus should not appear to be an error from the
2164 application's perspective.
2166 * cspi/spi_main.c: [fix for bug 85980]
2168 Replaced use of bonobo_object_dup_ref with call to the wrapper
2169 method, csou_dup_ref (); this silences a compiler warning and
2170 provided more portability.
2172 Ping the registry before return, and restart if necessary.
2174 * cspi/bonobo/cspi-bonobo.c:
2176 New internal method.
2178 Fixed this method to return an object reference, as it should have
2181 * cspi/cspi-lowlevel.h:
2182 Added internal definition for cspi_ping() and fixed
2183 return type of cspi_dup_ref().
2186 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2188 * atk-bridge/bridge.c: [fix for bug 85305]
2189 (spi_atk_bridge_register_application):
2190 New method where the initial application registry calls have been
2191 moved; it allows an application to re-register in response to
2192 certain error conditions (such as a registry restart, see below).
2194 Moved some initialization code to the method
2195 spi_atk_bridge_get_registry, below.
2196 (spi_atk_bridge_get_registry):
2197 New, private accessor function for the Accessibility_Registry
2198 instance. If the registry has not been started before, or has
2199 died (as detected by failure of a CORBA exception), it is
2200 restarted before return, and spi_atk_bridge_register_application
2201 is called again to register with the new bridge instance.
2202 (spi_atk_emit_eventv):
2203 Set registry_died on error; use spi_atk_bridge_get_registry () to
2204 access the registry.
2206 * registryd/registry.c:
2207 (impl_accessibility_registry_register_global_event_listener):
2208 Set listener's event_type_quark to etype.minor instead of
2209 etype.major (fix for bug 84856).
2211 * test/event-listener-test.c:
2212 (report_detail_event):
2213 Change the output string so that user/tester can tell that the
2214 'detail listener' was called instead of the 'generic listener'.
2216 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2218 Fixes for bugs 84900, 84908, 84897, 84898.
2223 Revved version to 1.1.0
2224 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2225 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2227 * idl/Accessibility_Registry.idl:
2228 (EventListener::notifyEvent):
2229 Removed 'oneway' directive after extensive consulation with
2230 ORBit2 team and others. This means also that unref() of the event
2231 source can and should be done synchronously after emission, rather
2232 than remotely in the client, after servicing the notify call on
2235 NOTE: This change speeds up listener performance considerably, but
2236 introduces new latency on the application side. We may want to
2237 add an event queue to the atk-bridge.
2239 * atk-bridge/bridge.c:
2240 (spi_atk_bridge_focus_tracker):
2241 Do a local unref() on the event source after emission.
2243 * registryd/registry.c:
2244 (desktop_remove_application):
2245 Do an unref() on the event source after emission.
2246 (desktop_add_application):
2247 Do an unref() on the event source after emission.
2248 (notify_listeners_cb):
2249 When relaying an event, don't automatically add the event source
2250 to the local object cache, just CORBA_dup it instead. Likewise,
2251 if this method reenters, release the ref rather than calling
2253 (impl_registry_notify_event):
2254 No longer call remote unref() on the event source after dispatch.
2256 * libspi/eventlistener.c:
2257 (impl_accessible_event_notify_event):
2258 Removed remote unref ()
2260 * cspi/bonobo/cspi-bonobo-listener.c:
2262 We now call cspi_object_new() instead of cspi_object_add() on
2263 receipt of an event; thus we only have an implicit object ref
2264 while the cspi_event method is being executed. If we need to keep
2265 a reference to the object, the listener must call ref() on the
2266 object. Thus also we don't need to call cspi_object_unref() after
2267 invoking the listener callbacks in this method.
2271 New internal API for creating a new cspi object, without adding it
2272 to the object cache.
2274 Now uses cspi_object_new() to create the cspi object instance.
2276 Now checks to see if the object is in the internal object cache,
2277 and adds it if necessary before incrementing its refcount (note
2278 that new objects are added with a refcount of 1).
2279 (report_leaked_ref):
2280 New method which gives some information on leaked object instances
2281 if leak detection is turned on.
2283 * test/event-listener-test.c:
2284 (timing_test_event):
2285 New method, used for testing event delivery timing for special
2286 events of type "object:test". It reports elapsed time and
2287 events/sec every 500 events.
2289 Added a new listener, 'test listener', to check timing of event
2290 receipt as noted above.
2292 Added some timing output here also, reports elapsed time every 100
2295 * test/stress-test.c:
2296 Emit events of type "object:test", for use with "event-listener-test".
2298 * test/test-simple.c:
2299 (global_listener_cb):
2300 Call Accessible_ref() on the event source before calling
2301 validate_accessible, since the validation process does pointer
2302 comparisons on the event source, meaning that the event source
2303 needs to be added to the local object cache first. Any use of
2304 such pointer comparisons between Accessible objects requires that
2305 the caller hold an explicit reference to those objects.
2306 We also must therefore call Accessible_unref() when leaving this method.
2308 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2310 * registryd/deviceeventcontroller.c:
2311 (spi_controller_update_key_grabs):
2312 Fix for #84735, subsequent keygrab listeners not informed of
2313 registration failure.
2316 (spi_base_construct):
2317 Add an assertion on construct, to make sure the GObject passed in
2318 is really a GObject.
2320 Explicitly initialize object->gobj pointer to NULL;
2322 * cspi/bonobo/cspi-bonobo-listener.c:
2323 (cspi_object_add_ref):
2324 New method, can specify whether to dup-ref a bonobo object passed
2325 in if it's newly added to the object cache.
2327 Now calls cspi_object_add_ref with second param of "FALSE". This
2328 prevents us from doing a pointless dup-ref followed by
2329 release-unref for all those cases where the object is already in
2330 our object cache (fix for #85205).
2332 * atk-bridge/bridge.c:
2333 (spi_atk_bridge_idle_init):
2334 Removed this method, we don't need to initialize in an idle
2337 Changed to call spi_atk_register_event_listeners directly, not via an
2338 idle handler. (fix for #81139)
2339 (gnome_accessibility_module_shutdown):
2340 Removed conditional around deregistration of listeners, since we
2341 don't use the idle handler and thus have always registered when
2343 (spi_init_keystroke_from_atk_key_event):
2344 Changed references to Accessibility_KEY_PRESSED to
2345 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2347 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2349 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2354 * test/stress-test.c:
2357 (may have been an incomplete commit yesterday?)
2359 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2362 Added target for new stress-test.
2364 * test/stress-test.c:
2365 New test, sends 1000 focus notifies in quick succession.
2367 * test/key-listener-test.c:
2368 Now we report whether a keylistener registration
2369 request succeeded or failed.
2371 * test/event-listener-test.c:
2372 Uncommented some listeners which are now implemented.
2375 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2377 * registryd/deviceeventcontroller.c:
2378 (spi_controller_update_key_grabs):
2379 Fix for #82509, lack of failure notification when
2380 ALL_WINDOWS keygrabs fail due to XGrabKey
2381 failure: we synchronize the server when
2382 registering a passive grab, to make sure we get the
2383 error message before the call returns.
2385 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2387 * test/test-simple.c:
2389 Removed #ifdef KEY_IMPL_WORKS guards.
2390 (test_keylisteners):
2391 Removed #ifdef KEY_IMPL_WORKS guards.
2392 Fixed bug which was causing a hang waiting for a
2393 "press" event (which was already overwritten by a "release"
2394 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2396 Added code to set globals 'key_press_received' and
2397 'key_release_received'.
2400 Added section "1.1 API Proposed Additions" which
2401 lists API additions desired for at-spi-1.1 (only one so far).
2402 Updated TODO list a little.
2404 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2406 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2409 * configure.in: Revved to 1.0.0.
2411 * idl/Accessibility_Registry.idl:
2412 (registerKeystrokeListener):
2413 Added boolean return value.
2415 * registryd/registry.c:
2416 (notify_listeners_cb): Minor fix to debug output.
2418 * registryd/Accessibility_Registry.server.in.in:
2419 Revved version number in OAFIID to 1.0.
2421 * registryd/registryd.c:
2423 Use new OAFIID version.
2425 * cspi/bonobo/cspi-bonobo.c:
2427 Use new OAFIID version.
2433 * atk-bridge/bridge.c:
2435 Use new OAFIID version.
2437 * registryd/deviceeventcontroller.c:
2438 (impl_register_keystroke_listener):
2439 Added CORBA_boolean return value.
2440 (spi_controller_register_device_listener):
2441 Added gboolean return value.
2442 (spi_controller_register_global_keygrabs):
2443 Added gboolean return value.
2444 (spi_key_set_contains_key):
2445 Added implementation for many more control keys,
2446 for instance F1-F12, arrow keys, End, Home, Page_Up,
2448 [TODO: some still not implemented].
2450 * text/screen-review-test.c:
2451 (text_chunk_pad_string):
2452 New function: it provides mapping between coordinate
2453 positions of text chunks and character positions in the
2454 screen-review-line output string.
2455 (text_chunk_to_string):
2456 New function, calls text_chunk_pad_string with various
2457 pad/delimiter characters. Pushbuttons are delimited with
2458 square brackets, Frames with vertical 'pipe' lines, and
2459 other text with double quotes.
2460 (text_chunk_list_to_string):
2461 Calls new function text_chunk_to_string.
2462 (toplevel_composite):
2463 New function to composite layers CANVAS through
2464 POPUP in each toplevel (other layers are composited
2465 across toplevels, i.e. BACKGROUND and OVERLAY).
2466 (review_buffer_composite):
2467 Revise to use new methods.
2473 2002-05-31 Laszlo Peter <laca@sun.com>
2475 * configure.in: add the Xtst libdir to the runpath on Solaris,
2476 since it's not in the default library search path.
2478 2002-05-29 jacob berkman <jacob@ximian.com>
2480 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2482 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2484 * test/screen-review-test.c:
2485 (text_chunk_pad_string):
2486 Added method, which pads the string according to the
2487 text bounds of the chunk. It also takes a 3-character
2488 string as a param which indicates the characters to be
2489 used for start, padding, and end delimitation of the chunk.
2490 (text_chunk_to_string):
2491 Changed to use text_chunk_pad_string.
2493 * configure.in: Fixed bug in AC_OUTPUT that was
2494 causing path substitution in Accessibility_Registry.server
2497 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2499 * text/screen-review-test.c:
2500 (guess_string_clip):
2501 New method which attempts a best-guess at clipping
2502 text from components (like Java labels) which don't
2503 actually implement AccessibleText. This inaccurate
2504 clip is based on the assumption that the label is
2505 justified left-and-right, and monospaced.
2506 (text_chunk_get_clipped_string):
2507 We now call guess_string_clip() for text-containing
2508 components that don't implement AccessibleText.
2510 * test/screen-review-test.c:
2511 (review_buffer_get_text_chunk):
2512 We now pull "name" from labels if they do not implement
2513 AccessibleText (i.e. for Java labels).
2514 (get_screen_review_line_at):
2515 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2518 Replaceded AC_OUTPUT target
2519 registryd/Accessibility_Registry.server with
2520 registryd/Accessibility_Registry.server.in.
2522 * registryd/Accessibility_Registry.server.in:
2523 Removed (this is now a Makefile target).
2525 * registryd/Accessibility_Registry.server.in.in:
2526 Added (source for target above). We now use $(libexecdir) as
2527 prefix for the executable at-spi-registryd.
2529 * registry/Makefile.am:
2530 Now install at-spi-registryd into $(libexecdir), and build .server
2531 file with path (see above).
2533 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2535 * test/screen-review-test.c:
2536 (text_chunk_get_clipped_string):
2537 We now check to see if words fall within clip bounds
2538 before resorting to character-by-character clip bounds testing.
2540 * TODO: Added a section for "2.2 Proposed API Additions".
2542 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2544 * test/screen-review-test.c:
2546 Added a screen review benchmarking and test program to test
2549 * cspi/spi_accessible.c:
2551 Made some of the debug strings passed to cspi_check_ev a
2552 little more specific.
2554 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2556 * test/screen-review-test.c: Fix crashes in debug statements
2558 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2560 * test/screen-review-test.c: Added this file.
2562 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2564 * atk-bridge/bridge.c: changed "object:state-change" to
2565 "object:state-changed" to match docs.
2567 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2569 * atk-bridge/bridge.c: Hooked up state-change event details.
2571 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2573 * registryd/registry.c:
2574 Fixed quarking bug in event string parsing; now events with
2575 detail parameters get matched correctly to listeners.
2578 * util/idl/Magnifier.idl: remove.
2580 * util/*.[ch]: Remove.
2581 Magnification utilities and IDL are now in module gnome-mag.
2583 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2585 * registryd/deviceeventcontroller.c:
2586 Fixed bug in grab key conversion which was causing keycode grabs
2587 to be converted to AnyKey grabs.
2590 updated NEWS file to reflect recent spin-off of gnome-mag.
2592 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2594 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2595 busted AccessibleStateSet_compare. Removed redundant casts.
2597 * cspi/spi-action.c: Removed redundant casts.
2599 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2601 * cspi/spi_component.c: Fixed typos and casting error.
2603 * cspi/spi_editabletext.c: Removed redundant casts.
2605 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2607 * cspi/spi_hypertext.c: Eliminated redundant casts.
2609 * cspi/spi_image.c: Eliminated redundant casts.
2611 * cspi/spi_registry.c: Eliminated redundant casts.
2612 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2613 * cspi/spi_selection.c: Removed redundant casts.
2614 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2615 handling. Screen geometry and text offsets were being returned as 0
2616 on error which is technically valid-- changed these to return -1.
2617 Added marshaller for text boundary types to fix bug with boundary
2618 types being passed incorrectly to atk.
2620 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2623 * cspi/spi_registry.c:
2624 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2625 which was uncovered by the recent key changes.
2627 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2629 * test/event-listener-test.c:
2631 Added new test, "event-listener-test";
2632 this code does two things; it benchmarks traversal time
2633 for the accessible hierarchy for the first running accessible
2634 app, and it connects listeners for all supported event types.
2635 It is thus useful as an example event listener and for
2636 diagnostics/debugging of event generation.
2638 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2641 Removed unnecessary dependency on libutil.
2644 Revved micro version: 0.13.1
2646 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2649 Removed util/Makefile from targets.
2652 Removed util subdir from SUBDIRS (temporarily,
2653 pending removal of magnifier-only code
2657 #ifdef-ed out magnifier dependencies, since
2658 magnifier IDL, headers, and binary now live in
2659 module gnome-mag and we don't want at-spi to depend
2660 on gnome-mag. A magnifier demo which can run alongside
2661 simple-at is forthcoming in the gnome-mag module.
2663 NOTE: Split magnifier binary, IDL, and magnification
2664 activation code from at-spi into module gnome-mag.
2666 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2668 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2669 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2671 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2674 Revved to version 0.13.0
2676 * idl/Accessibility_Registry.idl:
2677 Changed definition of KeySet from sequence of longs to sequence of
2678 KeyDefinitions, and added KeyDefinition struct.
2679 Required for fix to bug 80616.
2681 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2682 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2683 to use new definition (see above).
2685 * registryd/deviceeventcontroller.c: handle_keygrab(),
2686 spi_keyset_contains_key():
2687 Changed to make use of new struct; this allows matching based on
2688 string key-name, for instance "Tab". This also allows matching of
2689 composed characters, non-alphanumeric characters in a way that
2690 doesn't involve dependencies on X keysym codes directly, etc.
2692 * test/key-listener-test.c:
2693 Added test for Alt-Tab key using "string" specification of keyset,
2694 and modified one of the tests to use a keycode-based keyset.
2695 Thus this test both tests and demonstrates the creation and use of
2696 keysets of three forms: specified via keycode array,
2697 keysym array, and string array. (The string case only contains a
2698 single string, i.e. a string array of length 1).
2701 Turned on PRINT_TREE option by default. Also fixed a
2702 string-freeing bug in the PRINT_TREE code.
2703 Added a listener to window:minimize events.
2705 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2707 * atk-bridge/bridge.c:
2708 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2709 for window:activate and window:deactiveate
2710 (atk_bridge_property_event_listener atk_bridge_signal_listener
2711 atk_bridge_window_event_listener) Tidy debug code
2713 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2715 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2716 Fixed handling for NULL return value from ATK.
2718 * libspi/action.c libspi/component.c libspi/editabletext.
2719 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2720 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2721 Removed redundant casts.
2723 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2724 Fixed off by one bug.
2726 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2727 function not present in idl)
2729 2002-05-02 jacob berkman <jacob@ximian.com>
2731 * atk-bridge/Makefile.am: make atk-bridge a real module
2733 2002-04-26 Radek Doulik <rodo@ximian.com>
2735 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2736 atk_state_types table
2738 2002-04-22 jacob berkman <jacob@ximian.com>
2741 * libspi/Makefile.am: add deps on the built files to help
2742 automake, and don't version the ORBit typelib
2744 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2746 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2747 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2748 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2749 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2750 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2751 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2752 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2753 libspi/accessible.h libspi/accessible.h libspi/base.h
2754 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2755 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2756 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2757 libspi/spi-private.h libspi/statetset.h libspi/table.h
2758 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2759 util/mag_client.h util/mag_control.c util/mag_image.c
2760 util/mag_image.h util/magnifier.c util/magnifier.h:
2761 Add missing file headers; standardize existing ones
2763 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2765 * atk-bridge/bridge.c: Added window event support.
2767 2002-04-18 Michael Meeks <michael@ximian.com>
2769 * libspi/relation.c (impl_getNTargets): impl.
2770 (impl_getTarget): impl.
2772 * libspi/Makefile.am: fix stateset install.
2774 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2777 Started putting useful info in this file.
2779 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2781 * atk-bridge/bridge.c:
2782 Propagate state-changed notifications to ATs
2784 * cspi/spi_registry.c: update docs to reflect actual behavior of
2785 state-change events.
2787 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2790 Incremented version to 0.12.1
2792 * util/mag_client.h:
2793 Add missing declaration for magnifier_exit,
2794 used by mag_control.c - Forte compiler didn't like
2795 the implicit redeclaration of the function :-(
2798 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2801 Revved version to 0.12 due to API change (see below).
2803 * cspi/spi-roletypes.h:
2804 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2805 definition from the inline docs, and added docs
2806 for SPI_ROLE_LAST_DEFINED.
2809 * cspi/spi_streamablecontent.c:
2810 Added missing seek_type parameter to
2811 (so far unused) method,
2812 AccessibleStreamableContent_seek().
2813 [ RT approval JodyG. ]
2816 Fixed docs for SPI_createAccessibleKeystrokeListener.
2818 * cspi/spi_registry.c:
2819 Fixed docs for SPI_KEYSET_ALL_KEYS.
2821 * docs/reference/cspi/at-spi-cspi-sections.txt:
2822 Added a number of missing APIs to SECTIONS.
2824 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2826 * registryd/Makefile.am:
2828 * cspi/bonobo/Makefile.am:
2829 Add $(X_LIBS) to makefiles.
2831 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2834 Revved version to 0.11.
2836 * libspi/component.c:
2837 Added implementation for grabFocus.
2839 * idl/Accessibility_Component.idl
2840 (Accessibility_Component_grabFocus):
2841 Made this method return boolean to indicate success or failure, to
2842 be consistent with cspi and the corresponding ATK method.
2844 * idl/Accessibility_Selection.idl
2845 (Accessibility_Selection_selectAll) :
2846 Made these methods return boolean to indicate success or
2847 failure, to be consistent with cspi and the corresponding ATK methods.
2849 * idl/Accessibility_EditableText.idl
2850 (Accessibility_EditableText_setTextContents,
2851 Accessibility_EditableText_insertText,
2852 Accessibility_EditableText_cutText,
2853 Accessibility_EditableText_deleteText,
2854 Accessibility_EditableText_pasteText):
2855 Made these methods return boolean to indicate
2858 * cspi/spi_editabletext.c:
2859 Made these methods return booleans.
2861 * libspi/selection.c:
2862 * libspi/component.c:
2863 * libspi/editabletext.c:
2864 Connected the boolean returns from ATK
2865 to the server-side code referenced above.
2867 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2869 * idl/Accessibility_Table.idl: Added missing methods,
2870 Accessibility_Table_addRowSelection,
2871 Accessibility_Table_addColumnSelection,
2872 Accessibility_Table_removeRowSelection,
2873 Accessibility_Table_removeColumnSelection.
2876 Added C wrappers for above IDL:
2877 AccessibleTable_addRowSelection,
2878 AccessibleTable_addColumnSelection,
2879 AccessibleTable_removeRowSelection,
2880 AccessibleTable_removeColumnSelection.
2883 Added server-side implementation code for IDL above, connecting
2884 to pre-existing ATK api.
2886 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2888 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2890 * libspi/accessible.c: Added implementation fo
2891 Accessibility_Accessible_get_state.
2893 * libspi/libspi.h: Added stateset.h to the list of includes.
2895 * libspi/stateset.c: Fixed broken implementation.
2897 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2900 Added implementation code for Accessibility_Magnifier_exit ().
2902 * util/mag_control.c:
2903 Added test code for above method; you can
2904 now kill an existing magnifier via
2905 ./mag_control q, from the util directory.
2907 * test/key-listener-test.c:
2909 Added a new test, for our key listener API.
2911 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2913 * test/app.c, test/keysynth-demo.c:
2915 Replace use of snprintf with g_snprintf.
2916 (fix for bugzilla 78249)
2918 2002-03-27 Michael Meeks <michael@ximian.com>
2922 * util/Makefile.am (INCLUDES): fix.
2923 (DONT_DIST_SOURCE): don't distribute the
2926 * libspi/Makefile.am (dist-hook): ditto.
2928 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
2930 * libspi/hypertext.c:
2931 Fix warnings when yelp is used with atk-bridge
2933 2002-03-21 Michael Meeks <michael@ximian.com>
2935 * libspi/application.c (spi_application_new):
2936 use spi_accessible_construct so we use the AtkObject
2939 2002-03-19 Michael Meeks <michael@ximian.com>
2941 * registryd/registry.c (desktop_remove_application),
2942 (desktop_add_application): clean coding style.
2944 * registryd/desktop.c (spi_desktop_remove_application),
2945 (spi_desktop_add_application): kill re-enterency hazards.
2946 (spi_desktop_dispose): remove bogus redundant cast
2947 obscuring bug; fix bug too.
2948 (spi_desktop_init): make the desktop object immortal.
2950 2002-03-16 Bill Haneman <bill.haneman@sun.com>
2953 Added a #define-guarded tree-traversal step
2954 when enumerating the apps (diagnostic tool).
2956 2002-03-15 Bill Haneman <bill.haneman@sun.com>
2958 * idl/Accessibility_Role.idl:
2959 Added ROLE_DRAWING_AREA which seemed to be missing from the
2962 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2964 * cspi/spi-roletypes.h cspi/spi_accessible.c
2965 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
2968 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
2969 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
2970 AT when applications are added and removed from the desktop. This
2971 reverts the previous broken implementation using the backing
2972 AtkObject for the SpiDesktop.
2974 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2976 * registryd/desktop.c: emit the "children-changed::add" and
2977 "children-changed::remove" signals on the backing ATK object for
2978 the desktop so AT can tell when applications are started and shut
2981 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2983 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
2985 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
2987 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
2989 * cspi/spi_accessible.c: Implemented c bindings for stateset support
2991 * cspi/state-types.h: synched with IDL and ATK
2993 2002-03-13 Bill Haneman <bill.haneman@sun.com>
2995 * libspi/accessible.c
2996 (impl_accessibility_accessible_get_child_at_index):
2997 Change return value for g_return_if_fail ()
2998 to CORBA_OBJECT_NIL instead of "0" (!)
3000 * registryd/Makefile.am:
3001 * registryd/Accessibility_Register.server.in:
3002 Changed name of executable, "registryd",
3003 to something more informative:
3006 2002-03-13 Michael Meeks <michael@ximian.com>
3008 * atk-bridge/bridge.c (atk_bridge_init): don't register
3009 if we're in a bonobo-component, rather than a bonobo app.
3011 2002-03-13 Michael Meeks <michael@ximian.com>
3013 * atk-bridge/bridge.c (gtk_module_init): split
3014 out body to (atk_bridge_init): here, since otherwise
3015 we get symbol conflicts and oddness when invoked
3016 from (gnome_accessibility_module_init): here (upd.)
3018 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3021 New file. Explicitly allow "build sheriff" putbacks provided
3022 they are tested on Solaris.
3024 * docs/reference/cspi/Makefile.am:
3025 Added '-' to the "cp" command for index.sgml.
3026 ("patch by thomasvs, soon coming to a GUADEC near you")
3029 Incremented version number (0.9.0) for new release.
3030 Changed macro that checks for popt, to better detect
3031 obsolete versions of popt.
3034 Added X_LIBS to AC_SUBST, for applications
3035 that call Xlib API directly.
3038 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3041 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3044 Fix regression caused by hard-coding major
3045 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3048 * test/test-simple.c (test_editable_text),
3049 (test_test): revert previous change (error was
3050 a regression in gail which is now fixed).
3052 2002-03-04 Michael Meeks <michael@ximian.com>
3054 * test/test-simple.c (test_editable_text),
3055 (test_text): pass G_MAXINT instead of '-1' for
3056 whole string - is this a good thing !?
3058 * cspi/spi_accessible.c
3059 (Accessible_getRelationSet): fix crasher bug
3060 overwriting the end of the array.
3062 * test/test-simple.c (validate_accessible): free,
3063 not g_free returned relation set.
3065 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3067 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3068 implemented stateset support
3070 * idl/Accessibility_State.idl: Made necessary changes to
3071 the IDL to support state sets.
3073 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3075 * registryd/deviceeventcontroller.c:
3076 Added implementation for generateMouseEvent.
3078 * cspi/spi_registry.c:
3079 Connected new implementation for generateMouseEvent
3082 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3085 Incremented revision (but no change in public API
3086 outside of 'utils', which are not installed public yet.)
3088 * libspi/component.c:
3089 Changed to use atk_component API for layers and
3090 mdi_zorder, instead of deprecated atk_object API.
3092 Magnification Utility Enhancements:
3095 Added implementation of createZoomRegion, clearAllZoomRegions,
3096 resizeZoomRegion. Added new commandline argument
3097 "--no-initial-region". Note that clearAllZoomRegions doesn't
3098 unmap the old '0' region as it should (yet), and the other
3099 methods only work when creating/resizing a single region,
3100 which is "region 0".
3101 (Code for multiple region support will be added later.)
3104 Now we raise the magnifier window each time it's refreshed;
3105 this will help keep it on top.
3107 * util/mag_client.h:
3108 Added simple wrappers for above, used by mag_control.
3109 For general use, it's recommended to use the bonobo magnifier
3110 control API directly instead of using these wrappers.
3113 Moved ZoomRegionData from magnifier.c to this file.
3115 * util/mag_control.c:
3116 Added some code to exercise new IDL implementations.
3118 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3120 * libspi/text.c: Provide implementation for getAttributes.
3122 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3125 Incremented revision.
3127 * test/test-simple.c:
3128 Replaced use of deprecated g_main_iteration with
3129 g_main_context_iteration.
3131 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3134 Incremented revision for desktop alpha 2.
3136 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3138 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3141 * test/simple-at.c: include netinet/in.h.
3143 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3145 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3146 use NULL, not CORBA_OBJECT_NIL.
3148 * libspi/accessible.c:
3149 (impl_accessibility_accessible_get_relation_set):
3150 allocate the sequence correctly.
3152 * libspi/remoteobject.h: kill spi_remote_object_new.
3154 * test/test-simple.c: (validate_accessible): add code
3155 to test relation sets, now all we need is to figure
3156 out how to excercise this code path :/
3158 2002-01-18 Michael Meeks <michael@ximian.com>
3160 * test/test-simple.c
3161 (key_listener_cb): consume the key.
3162 (test_keylisteners): update.
3163 (main): wait for any pending unrefs on events.
3165 * registryd/deviceeventcontroller.c
3166 (spi_controller_update_key_grabs): only re-issue the
3167 grab on a key release.
3168 (spi_device_event_controller_forward_key_event):
3169 refresh the keygrabs before we notify the listeners,
3170 to reduce the X ungrab / re-grab race.
3171 (spi_controller_register_with_devices): remove
3172 XSelectInput - we do that with the gdk_window_ call.
3173 (_spi_controller_device_error_handler): return a value.
3174 s/GDK_DISPLAY/spi_get_display/
3176 2002-01-17 Michael Meeks <michael@ximian.com>
3178 * registryd/deviceeventcontroller.c
3179 (_deregister_keygrab): don't blow out the later
3182 * test/test-simple.c (test_keylisteners): do a
3183 more intelligent validation.
3185 2002-01-14 Michael Meeks <michael@ximian.com>
3187 * atk-bridge/bridge.c
3188 (gnome_accessibility_module_init),
3189 (gnome_accessibility_module_shutdown): impl.
3190 (gtk_module_init): protect vs. double inits.
3191 (add_signal_listener): impl.
3192 (spi_atk_bridge_state_event_listener): kill
3193 (deregister_application): split out of
3194 (spi_atk_bridge_exit_func): here.
3196 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3199 Added caret tracking when using magnifier, and
3200 now use text bounds for focus tracking of text elements, rather than
3201 the component bounds - this is helpful for short text fields in long
3202 table cells, at high magnification.
3204 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3206 * registryd/deviceeventcontroller.c:
3207 Regression fix for keylistener de-registration; global keygrabs
3208 were not being released when deregisterKeystrokeListener was
3209 called in cspi, since
3210 Accessibility_DeviceEventController_deregisterKeystrokeListener
3211 was called with a zero-length keyset. That is because the cspi
3212 method, SPI_deregisterKeystrokeListener, does not take a keyset
3213 parameter but instead should remove all the key grabs held be a
3215 The code in impl_deregister_keystroke_listener was changed to copy
3216 the keylist from the listener instance previously registered with
3217 the DeviceEventController before releasing the grabs.
3219 * registryd/registry.c:
3220 * registryd/deviceeventcontroller.c:
3221 * libspi/spi-private.h:
3223 Changed spelling of "re-enterant" to "re-entrant" globally.
3225 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3227 * test/test-simple.c:
3228 Changed key listeners test - the test was slightly mis-using the
3229 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3230 It now uses '=' as the key event listened to and generated,
3231 relying on a keysym match rather than assuming that keycode 33
3232 is always equal to keysym '!'.
3234 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3237 Changed simple-at to use a specific keyset, rather than
3238 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3239 manager, desktop, etc.
3241 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3243 * registryd/deviceeventcontroller.c:
3244 Replaced standard X error handler with a special handler that
3245 is non-fatal for failed keygrabs. This works around
3246 problems with keygrab clashes sometimes observed on
3248 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3249 mouse handling code as yet).
3251 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3254 Incremented revision for desktop alpha release.
3257 Fixed a couple of the more glaring errors (still not
3260 2002-01-11 Michael Meeks <michael@ximian.com>
3262 * registryd/deviceeventcontroller.c
3263 (spi_device_event_controller_forward_key_event): kill
3264 XUngrabKey / XKeyGrab race.
3265 (spi_controller_grab_keyboard): rename to
3266 (spi_controller_update_key_grabs): this, and deal
3267 with incremental adding / removing grabs more
3269 (_register_keygrab): ensure we're not pending a remove.
3270 (spi_grab_mask_free): impl.
3271 (spi_controller_register_global_keygrabs): split out
3273 (handle_keygrab): impl.
3274 (_deregister_keygrab): impl.
3275 (spi_controller_deregister_global_keygrabs): impl.
3276 (spi_controller_update_key_grabs): re-issue the grab if
3277 we just recieved a notification.
3279 * test/test-simple.c (key_listener_cb): remove debug.
3281 * registryd/deviceeventcontroller.c
3282 (spi_controller_register_device_listener): after
3283 registering a global keygrab, actualy register it !
3284 don't wait for a timeout; doh !
3286 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3287 to make it more readable / manipulable.
3288 s/grabmask/grab_mask/ s/refcount/ref_count/
3289 s/keyval/key_val/ s/modmask/mod_mask
3291 2002-01-08 Michael Meeks <michael@ximian.com>
3293 * registryd/deviceeventcontroller.c
3294 (spi_controller_register_with_devices): use gdk calls to
3296 (global_filter_fn): implement the filter.
3297 (spi_device_event_controller_check_key_event): rename to
3298 (spi_device_event_controller_forward_key_event): this & upd.
3299 (spi_get_display): replace with GDK_DISPLAY.
3301 * registryd/deviceeventcontroller.c
3302 (spi_controller_deregister_device_listener): unroll into
3303 (impl_deregister_keystroke_listener): here to simplify.
3304 (spi_controller_register_global_keygrabs): split cut and
3305 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3306 (spi_controller_deregister_device_listener): remove.
3307 (impl_register_mouse_listener): remove, no mouse listener
3308 support in at-spi-1.0
3310 * registryd/registry.c
3311 (_device_event_controller_hook): kill.
3312 (spi_registry_init): upd.
3314 * registryd/deviceeventcontroller.c
3315 (spi_device_event_controller_class_init): upd.
3316 (spi_check_key_event): merge into.
3317 (spi_device_event_controller_check_key_event):
3318 here and kill strange static ev init, don't leak
3319 the x_event - nor dynamicaly allocate it.
3321 * registryd/registry-main.c (main): re-direct
3322 timeout to remove strange vtable mess.
3324 * registryd/deviceeventcontroller.c
3325 (remove_listener_cb): impl.
3326 (spi_controller_deregister_device_listener):
3327 fix re-enterancy hazard.
3329 2002-01-07 Michael Meeks <michael@ximian.com>
3331 * registryd/deviceeventcontroller.c
3332 (spi_device_event_controller_new): upd.
3333 (impl_notify_listeners_sync): upd. debug.
3334 (spi_notify_keylisteners): fix re-enterancy hazards,
3335 prettify, remove O(n*n) iteration.
3336 (spi_controller_grab_keyboard): fix iteration.
3337 (spi_check_key_event): re-format to suit coding style.
3338 Clean all the warnings - we're warning free.
3340 * registryd/deviceeventcontroller.h:
3341 * registryd/registry.h: make mutualy referential with
3342 typesafe forward references instead of (!) void pointer
3345 2002-01-11 Michael Meeks <michael@ximian.com>
3347 * cspi/spi_accessible.c (role_names): add a role name
3348 to sync this array with the enum; and make the regression
3351 2002-01-10 Michael Meeks <michael@ximian.com>
3353 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3354 allow expansion of enumeration & kill warning.
3356 * test/test-simple.c (key_listener_cb): impl.
3357 (test_keylisteners): impl.
3359 * cspi/spi-listener.h: make listener signatures const
3360 on the provided (const) events.
3362 * test/keysynth-demo.c: upd. to const events.
3364 * test/simple-at.c: ditto.
3366 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3369 Rev the version to 0.5 (the previous tarball was named 0.4,
3370 even though the micro number was 3), so we need to rev upwards
3371 again for beta2/"desktop-alpha"
3374 Checked in a demo script, which requires editing before use!
3375 Proceed with caution.
3378 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3380 * cspi/spi_accessible.c:
3381 Add a couple of missing enum initializations, and fix some enum
3384 * cspi/spi_registry.c:
3385 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3387 * docs/reference/cspi/at-spi-cspi-sections.txt:
3388 Remove/fix a couple of broken document references.
3391 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3392 as Alt-Control to listen for commands, since on some systems
3393 Control-Alt may already be grabbed.
3395 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3398 Update version number to 0.4 for Beta2.
3400 * libspi/accessible.c, libspi/accessible.h:
3401 Expose spi_accessible_construct, to enable libgail-gnome
3402 construction from spi_accessible subtype.
3404 * utils/magnifier.c:
3405 Workaround for bug in some non-gnome-compliant window managers
3406 which made magnifier resize improperly.
3408 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3410 * libspi/accessible.c: (spi_accessible_new) :
3411 Move the test for SPI_IS_REMOTE_OBJECT to
3412 spi_accessible_new_return, fixing a bug and compile time warning.
3414 2002-01-08 Michael Meeks <michael@ximian.com>
3416 * registryd/registry.c (parse_event_type): remove strndup.
3418 * libspi/Makefile.am (libspi_la_SOURCES): remove
3419 sources already included in the headers section.
3421 * libspi/util.c: add.
3423 * libspi/spi-private.h: add.
3425 * registryd/registry.c: update to moved list iterators.
3427 2002-01-05 Michael Meeks <michael@ximian.com>
3429 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3431 * test/test-simple.c (main): ditto.
3433 2002-01-04 Michael Meeks <michael@ximian.com>
3435 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3436 redundant construct.
3438 * registryd/registry.c
3439 (get_listener_list): impl.
3440 (impl_accessibility_registry_register_global_event_listener):
3441 re-impl. to simplify using ~, remove dodgy const cast off.
3442 (parse_event_type): constify.
3443 (impl_accessibility_registry_deregister_global_event_listener_all):
3444 re-write, more efficiency and simplicity, kill re-enterancy
3446 (compare_listener_corbaref, compare_corba_objects),
3447 (compare_listener_quarks): define out.
3448 (impl_accessibility_registry_deregister_global_event_listener):
3449 re-write for effiency, and nail re-enterancy hazard.
3450 (impl_accessibility_registry_get_desktop_list): impl.
3451 (re_enterant_list_delete_link): impl.
3452 (re_enterant_list_foreach): impl.
3453 (remove_listener_cb): impl.
3454 (_registry_notify_listeners): kill.
3455 (notify_listeners_cb): impl.
3457 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3458 (SPI_getDesktopList): impl.
3460 * test/test-simple.c (test_desktop): test the methods.
3462 2002-01-03 Michael Meeks <michael@ximian.com>
3464 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3465 keystrings since we free them
3466 (SPI_freeAccessibleKeySet): in here.
3468 * libspi/accessible.c (spi_accessible_new): kill warning,
3469 wonder what is going on with the constructor here.
3471 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3473 * libspi/accessible.c (spi_accessible_new ()) :
3474 Added check to see if AtkObject is an SpiRemoteObject before
3475 creating an SpiAccessible.
3477 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3479 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3480 Enable keygrabs using the Control modifier, now that they are
3481 working properly (they were previously disabled).
3484 Change the command keygrab for this demo to "Control+Alt", so as
3485 to conflict with fewer other key commands on the system; this
3486 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3488 Removed a pointlessly-chatty keylistener for unshifted keys
3489 (shifted keys are still reported).
3491 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3493 * libspi/remoteobject.h:
3494 * libspi/remoteobject.c:
3495 Added definitions for special AtkObject subtype, required for
3496 support of remote components (specifically, used by BonoboControl
3497 accessibility implementation).
3499 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3501 * cspi/spi.h: synched relation types with ATK
3503 * cspi/spi_accessible.c: Added implementations of
3504 AcccessibleRelation_* methods
3506 * idl/Accessibility_Relation.idl: added getRelationTypeName
3507 method. Synched known relation types with ATK. Allowed for
3508 relation type extension with the RELATION_EXTENDED type.
3510 * libspi/relation.c: Provided implementations for
3511 AccessibleRelation methods.
3513 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3515 API tweaks for today's API 'freeze'.
3518 Added placeholder functions to allow future compatible expansion
3519 of the IDL interfaces.
3521 * idl/Accessibility_Registry.idl:
3522 Changed generateKeyEvent to generateKeyboardEvent. Changed
3523 signature of this method to accept an optional keystring in
3524 parameter (for complex text input synthesis) and changed use of
3525 simple 'boolean' parameter in registerKeystrokeListener to a
3526 struct, EventListenerMode.
3528 * cspi/spi_accessible.c:
3530 * cspi/spi_streamablecontent.c:
3531 Added references to AccessibleStreamableContent interface, and
3532 definition and implementation of AccessibleStreamableContent
3535 * cspi/spi_registry.c:
3537 Changed generateKeyEvent API to generateKeyboardEvent,
3538 taking a new (optional) keystring parameter to support complex
3543 Renamed directory (to better reflect its actual purpose, bridging
3544 from at-spi to ATK). The .so module is also now named
3547 * idl/Accessibility_Hypertext.idl:
3548 * libspi/accessible.c:
3549 * libspi/hypertext.h:
3550 * libspi/hypertext.c:
3551 Changed Accessibility_Hypertext to *not* derive from
3554 * cspi/spi_registry.c:
3555 Added list of legal event type names for 'window' events, which
3556 completes the registry event API.
3558 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3560 * at-bridge/bridge.c: Added registration for separate
3561 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3562 signals. If either of the first two parameters to the generic
3563 bridge signal handler are ints, they are passed on as event
3564 details. This allows an AT to determine what text was inserted.
3566 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3568 * registryd/deviceeventcontroller.c:
3569 Fixed regressions in generateKeyEvent caused by the removal of
3570 gdk_init from registryd; we now use pure X calls to connect to the
3571 display, which makes sense because deviceeventcontroller already
3572 uses a fair bit of X API (should eventually be migrated to a
3573 'portability layer').
3575 * registryd/desktop.c:
3576 Fixed minor regression in spi_desktop_init, changed the way the
3577 desktop name is being set to work with new spi_base API
3578 (gobject-based, rather than AtkObject-based).
3580 * registryd/Makefile.am:
3581 Minor revision of makefile to use XTST_LIBS variable rather than
3582 hard-wiring the Xtst LD_ADD element.
3584 * test/keysynth-demo.c:
3585 Tweaked an output message; added initialization of the
3586 'keystrings' member of the "switch listener" key_set.
3588 * libspi/relation.c:
3589 Squashed compile-time warning.
3591 * libspi/accessible.c:
3592 Cosmetic and formatting fixes, renamed a static method.
3594 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3596 * libspi/accessible.c
3598 * libspi/application.c
3601 * libspi/component.c
3602 * libspi/editabletext.c
3603 * libspi/hyperlink.c
3604 * libspi/hypertext.c
3606 * libspi/selection.c
3610 * registryd/desktop.c:
3611 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3613 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3615 * idl/Accessibility_Registry.idl:
3616 Added boolean member 'is_text' to DeviceEvent. This is for the
3617 use of key events, and helps prevent ambiguity between composed
3618 key strings and keysym names, since both may potentially be
3619 returned in the 'event_string' member.
3621 * at-bridge/bridge.c:
3622 * registryd/deviceeventcontroller.c:
3623 Use the 'is_text' member when notifying device event listeners.
3624 Knon issue: composed characters are not dealt with correctly by
3625 the global key listener implementation yet.
3627 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3629 * at-bridge/bridge.c:
3630 Namespaced local static methods to spi_atk_bridge_* where
3631 previously named bridge_*, and spi_* elsewhere.
3633 * at-bridge/bridge.c:
3634 * cspi/bonobo/cspi-bonobo-listener.c:
3635 Added demarshalling/conversion for string member of
3636 Accessibility_DeviceEvent to AccessibleKeystroke.
3638 * registryd/deviceeventcontroller.c:
3639 Added code to fill the Accessibility_DeviceEvent key string value
3640 member for global key events (i.e. from XGrabKey), to match
3641 behavior of Accessibility_DeviceEvent from the toolkit key events
3642 from the bridge. Fixed timestamp in global key event notifications.
3645 Added printout of key event's string value to
3646 report_ordinary_key_event, for demo/debugging purposes.
3648 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3650 * idl/Accessibility_Registry.idl:
3651 Removed Accessibility_KeyStroke structure in favor of generic
3652 Accessibility_DeviceEvent structure.
3653 Changed Accessibility_ControllerEventMask from a struct to an
3656 * at-bridge/bridge.c:
3657 Changed APIs to use DeviceEvent structure as above, and removed
3658 bogus casting between these event structures.
3660 * cspi/spi-listener.h:
3661 Added keystring member of AccessibleKeystroke structure, to enable
3662 matching on event "names" rather than only hardware codes and
3666 Added keystrings member of AccessibleKeySet struct, to allow
3667 matching on event names (as above).
3668 Added declarations for SPI_createAccessibleKeySet and
3669 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3670 event modmasks directly as unsigned ints rather than structs with
3671 refcounts, in the DeviceEventController methods.
3673 * cspi/spi_registry.c:
3674 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3676 * cspi/spi-roletypes.h:
3677 Added documentation of newly added SPI Roles.
3679 * cspi/bonobo/cspi-bonobo-listener.c:
3680 Changes in support of API changes above.
3682 * libspi/accessible.c:
3683 Converted APIs to use DeviceEvent structure (see IDL changes
3686 * registryd/deviceeventcontroller.c:
3687 Added DEControllerGrabMask structure to track keygrabs not only by
3688 modmask but by keyset as well; this allows us to do "global"
3689 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3690 grabbing on AnyKey and then filtering after-the-fact.
3691 Bugfixes for event filtration mean that we don't get false matches
3692 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3694 * registryd/deviceeventcontroller.c:
3695 Namespaced a number of static methods to use spi_ prefix. Major
3696 revision to internals of global (i.e. X) key grabs.
3698 * registryd/deviceeventcontroller.h:
3699 Removed keymask_list and added keygrabs_list to
3700 SpiDeviceEventController struct.
3703 Added use of SPI_createAccessibleKeySet API when creating a
3704 listener for only one key. Attach a listener to "shift spacebar
3705 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3706 X key event names to SPI key event names, so that listeners are
3707 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3709 * test/keysynth-demo.c:
3710 Changed (incorrect) use of X key event names (KeyPressed,
3711 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3714 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3716 * libspi/accessible.c:
3717 Convert all AtkRole enumerations to Accessibility_Role enums when
3718 getting a role from an AtkObject.
3720 * cspi/spi_accessible.c:
3721 Complete the conversion of Accessibility_Role enums at runtime to
3722 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3723 role enums correctly match those given in spi-roletypes.h.
3724 Re-synchronize the local names list for AccessibleRole_getName ().
3725 AccessibleRole_getName is now deprecated, since it duplicates the
3726 more reliable Accessible_getRoleName.
3727 Added some role types from Accessibility_Role.idl.
3729 * idl/Accessibility_Role.idl:
3730 Added some role types used by AtkRole.
3732 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3735 * cspi/spi_registry.c:
3737 * cspi/cspi-bonobo-listener.c:
3738 Namespaced all methods that did not begin with an "SPI_" or
3739 "Accessible" prefix to "SPI_".
3742 Homogenized internal function namespace to "cspi_" for statics.
3745 Patched tests to use the new CSPI API.
3747 * docs/reference/cspi/at-spi-cspi-sections.txt:
3748 Updated docs to reflect namespace changes, and added a number of
3749 methods to the documentation.
3751 * registryd/registry.c:
3752 Changed use of strings and string hashes in listener event
3753 matching and parse_event_string to use GQuark, which is guaranteed
3756 * registryd/registry.h:
3757 Squashed annoying warning.
3759 * idl/Accessibility_Role.idl:
3760 Extended range of available Accessibility_Role values.
3762 * cspi/spi_accessible.c:
3763 Re-ordered role names.
3765 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3767 * idl/Accessibility_Value.idl:
3768 Revert use of union back to CORBA_double, since the double type is
3769 more efficient and can contain the other types without loss of
3772 * idl/Accessibility_Accessible.idl:
3773 Added method Accessibility:Accessible:getRoleName, to complement
3774 Accessibility:Accessible:getRole.
3776 * cspi/spi_accessible.c:
3778 Added C binding for above, Accessible_getRoleName (), and changed
3779 signature of Accessible_getRole () to return an AccessibleRole.
3781 * cspi/spi-roletypes.h:
3782 Changed AccessibleRole_getName to return a char * instead of a
3783 const char *. This method is now at least temporarily deprecated
3784 in favor of asking Accessibles for their RoleNames directly.
3787 Revert to match Accessibility_Value.idl;
3791 Change signature of AccessibleValue methods to use double rather
3795 * cspi/spi_accessible.c:
3796 Changed Accessible_getRole to return an AccessibleRole enum rather
3797 than a UTF-8 string. The UTF-8 string can still be obtained via
3798 AccessibleRole_getName ().
3800 * test/test-simple.c:
3801 Add test_action. Small fixup to match API change to Accessible_getRole.
3804 Bugfix for get_action_from_servant ().
3806 2001-12-11 Michael Meeks <michael@ximian.com>
3808 * libspi/libspi.h: remove registry.h and
3809 desktop.h, deviceeventcontroller.h
3811 * libspi/Makefile.am: remove registry.[ch],
3812 desktop.[ch], deviceeventcontroller.[ch]
3814 * registryd/Makefile.am: add registry.[ch],
3815 desktop.[ch], rename registryd.c to registry-main.c.
3816 add deviceeventcontroller.[ch]
3818 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3821 Replace setenv() call with putenv ().
3823 * libspi/component.c:
3824 Bugfix in AccessibleComponent_getExtents (),
3827 2001-12-11 Michael Meeks <michael@ximian.com>
3829 * libspi/image.c (impl_getImageExtents): impl.
3830 (spi_image_class_init): upd.
3833 (AccessibleImage_getImageDescription): fix daft bug
3836 * test/test-simple.c (global_listener_cb): update
3837 to only quit if not --poke
3838 (main): catch --poke.
3839 (validate_accessible): upd. dumping, call test_image
3842 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3845 * idl/Accessibility.idl: update all IDL includes.
3847 * idl/*.idl - rename to namespace - this sucks, blame
3848 mjs' bad decision for oafd.
3850 * test/test-simple.c (create_test_window): add more tests.
3851 (create_tree): split this out.
3852 (validate_accessible): bugfix.
3854 2001-12-11 Michael Meeks <michael@ximian.com>
3856 * cspi/bonobo/cspi-bonobo-listener.c:
3857 (cspi_kestroke_listener_unref),
3858 (cspi_event_listener_unref): impl. undoing previous
3859 homenous environment - for Bill.
3861 * cspi/spi_table.c (long_seq_to_array): use
3864 * cspi/spi_main.c: split out all bonoboish bits into
3867 * cspi/spi-impl.h: upd. typedefs.
3869 * cspi/spi_registry.c: update to lowlevel API,
3870 return booleans to indicate success in some places.
3872 * cspi/spi_event.c: update to lowlevel API.
3874 * cspi/bonobo/Makefile.am: add.
3876 * cspi/bonobo/cspi-lowlevel.h: add
3878 * cspi/bonobo/cspi-bonobo.c: add
3880 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3882 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3883 (SUBDIRS): add bonobo, link in the libs.
3885 * cspi/spi-util.c: kill this file.
3887 * TODO: merge in my bits.
3889 2001-12-11 Michael Meeks <michael@ximian.com>
3891 * test/test-simple.c (test_value, test_table, main):
3892 remove unused variables causing warnings.
3894 * configure.in: cleanup checks - require gail.
3896 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3899 Changed Value interface to use SValue (scalars) rather than
3900 assuming all values are floats. This allows floats, doubles,
3901 longs, shorts, and unsigned values to be manipulated.
3902 Introduced Accessibility:SValue union.
3905 Updated to use new API above, and to work correctly with GValues
3906 of different types in AtkValue.
3909 Updated to use new API above. cspi's API is as yet unchanged.
3912 Updated the Value revision action item.
3914 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3916 * test/test-simple.c:
3917 Added test_table (GtkTreeView widget in test window to follow).
3918 Un-commented test_value, added GtkRange widget.
3919 Added GtkTreeView widget with GtkListStore. It passes regression
3920 test but leaks one SPI object for some reason.
3923 Fixed bug in impl__set_currentValue.
3925 2001-12-10 Michael Meeks <michael@ximian.com>
3927 * cspi/spi_text.c: audit for exception handling,
3928 tolerating NULL object references safely etc.
3930 * cspi/spi_value.c: ditto.
3932 * cspi/spi_table.c (AccessibleTable_getSummary),
3933 (AccessibleTable_getAccessibleAt),
3934 (AccessibleTable_getRowHeader),
3935 (AccessibleTable_getColumnHeader),
3936 (AccessibleTable_getCaption): fix bugs hidden by
3938 (long_seq_to_array): impl.
3939 (AccessibleTable_getSelectedRows),
3940 (AccessibleTable_getSelectedColumns): use it.
3942 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3945 Added a TODO list (rough and short for now).
3947 * cspi/spi_hyperlink.c:
3948 * cspi/spi_hypertext.c:
3949 Fixed macro name typos, and remove use of obsolete macro in
3950 AccessibleHyperlink_getLink.
3952 * cspi/spi_action.c:
3953 * cspi/spi_accessible.c:
3954 * cspi/spi_application.c:
3955 * cspi/spi_component.c:
3956 * cspi/spi_selection.c:
3959 Documentation fixes (removed return values from ref/unref methods).
3961 2001-12-10 Michael Meeks <michael@ximian.com>
3963 * cspi/spi_action.c: audit for exception handling,
3964 tolerating NULL object references safely etc.
3966 * cspi/spi_accessible.c: ditto.
3968 * cspi/spi_component.c: ditto.
3970 * cspi/spi_editabletext.c: ditto.
3972 * cspi/spi_hyperlink.c: ditto.
3974 * cspi/spi_hypertext.c: ditto.
3976 * cspi/spi_image.c: ditto.
3978 * cspi/spi_selection.c: ditto.
3980 2001-12-10 Michael Meeks <michael@ximian.com>
3982 * configure.in: use cspi/libspi.pc.in instead.
3984 * Makefile.am (pkgconfig_DATA): upd. to match.
3986 * test/simple-at.c (report_focus_event): kill hacks around
3987 bad return values, use putenv not setenv
3989 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
3990 fire ChildGone - I killed it.
3992 * libspi/component.c
3993 (impl_accessibility_component_get_extents): remove
3996 * idl/Accessible.idl: kill ChildGone exception.
3998 * cspi/*.[ch]: kill int return from ref / unref.
4000 * cspi/spi_main.c (cspi_object_add_check): fold into
4001 (cspi_object_add): here.
4003 * cspi/spi_component.c (AccessibleComponent_getExtents):
4004 handle exceptions elegantly.
4006 * cspi/spi-private.h (cspi_check_ev_return),
4007 (cspi_return_if_fail): impl.
4009 * cspi/spi_accessible.c: use extensively.
4010 (AccessibleStateSet_equals): add direct compare check.
4012 * cspi/spi_selection.c: tolerate NULL objs, and check
4013 exceptions before return.
4015 * cspi/spi-util.c (cspi_warn_ev): rename to
4016 (cspi_check_ev): this & don't pass ev in; no point.
4018 2001-12-10 Michael Meeks <michael@ximian.com>
4020 * test/test-simple.c: use putenv not setenv
4021 (get_environment_vars): more chatty if you're not using
4024 * test/simple-at.c: do the setenv so more people see the
4027 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4029 * libspi/registry.c:
4030 Changed check of CORBA_environment on notification to be a warning
4031 instead of an error for the moment, since we can recover from this
4032 error when caused by a queued notification from a dead app.
4035 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4036 used by all current implementors of AtkValue), and coerce to
4037 CORBA_float. (Proper general case fix may require change to Value.idl).
4039 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4043 * cspi/spi_accessible.c:
4044 Documentation fixes: added user_data params to documentation for
4045 listeners and callbacks.
4047 * cspi/spi_accessible.c:
4048 Changed AccessibleStateSet_compare to return a
4049 StateSet rather than return the difference set into a third parameter.
4052 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4055 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4056 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4060 Remove subdirectory po from SUBDIRS for now.
4062 * at-bridge/bridge.c:
4063 Beefed up a couple of debug printouts.
4064 One-line fix for signal notification name formatting.
4066 * libspi/accessible.c:
4067 Added assertion to spi_accessible_new ().
4069 * libspi/application.c:
4070 Put #ifdef qualifiers around a printf.
4073 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4075 * registryd/Makefile.am:
4077 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4078 INTLTOOL_SERVER_RULE macro.
4081 Added an event listener for several ATK signals, for
4082 testing and debugging. Removed a few g_warnings.
4083 Added test output if focussed item implements the Value interface.
4085 * test/test-simple.c:
4086 Added test_value () function (known not to pass at the moment, so
4087 not actually called yet.
4089 2001-12-08 Michael Meeks <michael@ximian.com>
4091 * at-bridge/bridge.c (bridge_focus_tracker),
4092 (emit_eventv): fix the same ref. leak.
4093 (register_atk_event_listeners): don't leak.
4095 * cspi/spi-listener-impl.c (cspi_event): more
4096 protection from client code.
4098 * test/test-simple.c (test_desktop): unref the app.
4100 * test/Makefile.am: upd. TESTS.
4102 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4104 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4106 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4108 * cspi/spi_registry.c: constify in strings.
4109 (deregisterGlobalEventListenerAll): don't release the ref.
4111 * cspi/spi.h: start removing redundant / conflicting
4112 gtkdoc comments, making the API readable at a glance :-)
4114 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4116 * test/keysynth-demo.c (keysynth_exit, main): upd.
4118 * test/simple-at.c (main, simple_at_exit): upd.
4120 * test/test-simple.c (unutterable_horror): kill.
4121 (utterable_normal_derefs): kill.
4122 (main): upd & do a setenv before gtk_init, so that we
4123 can use memprof - and to save the pain of remembering
4124 this, if we're running under memprof - don't exit.
4126 * cspi/spi_main.c (SPI_exit): return exit status
4128 (SPI_event_quit): impl.
4129 (SPI_event_main): simplify.
4130 (cspi_is_gnome_app): kill.
4131 (SPI_init): kill isGNOMEapp arg.
4133 * at-bridge/bridge.c (register_atk_event_listeners):
4134 re-instate the unref.
4135 (bridge_exit_func): don't re-activate the registry,
4136 protect vs. theoretical re-entry, use the
4137 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4138 assert a clean shutdown - for regression tests.
4140 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4142 * configure.in: Comment out dummy i18n support for now,
4143 otherwise it fails to build.
4144 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4145 EXTRA_DIST. They are missing in tarball.
4147 2001-12-07 Michael Meeks <michael@ximian.com>
4149 * util/magnifier.c: kill bonobo activation reg. race.
4151 * libspi/component.c
4152 (impl_accessibility_component_get_extents): make it match
4155 * libspi/registry.c (_registry_notify_listeners):
4156 re-remove X headers & reconcile conflicts.
4157 (spi_listener_struct_free): bad conflict resolve.
4158 (impl_accessibility_registry_register_application):
4159 more bad merging fixed.
4160 (impl_accessibility_registry_deregister_application): ditto.
4161 (spi_registry_new): ditto.
4162 (spi_registry_init): don't have an applications field.
4164 [ merge fixups2 branch to here ]
4165 2001-12-07 Michael Meeks <michael@ximian.com>
4167 * test/simple-at.c (report_focus_event),
4168 (report_focussed_accessible): remove g_warning debug.
4170 2001-12-07 Michael Meeks <michael@ximian.com>
4172 * test/test-simple.c (validate_tree): comment out some checks.
4173 (test_desktop): app now not registered idly - horay.
4175 2001-12-07 Michael Meeks <michael@ximian.com>
4177 * cspi/spi_registry.c
4178 (registerAccessibleKeystrokeListener): clean, stop it leaking
4179 great swathes of memory, and device event controller references.
4180 ensure we always pass valid sequences.
4181 (deregisterAccessibleKeystrokeListener): ditto.
4182 (generateKeyEvent): upd.
4184 * at-bridge/bridge.c (bridge_key_listener): handle
4185 registry dead exception gracefully.
4186 (bridge_focus_tracker, emit_eventv): free ev.
4188 * test/simple-at.c (report_focus_event): fix polarity.
4190 * libspi/application.c (notify_listeners): kill the ev
4191 argument, and make sure we init the ev we use.
4192 (spi_application_object_event_listener): split out a chunk
4193 (get_atk_object_ref): here & fixup.
4194 (reverse_lookup_name_for_toolkit_event): make const.
4195 (spi_application_toolkit_event_listener): fixup, kill leaks
4198 * at-bridge/bridge.c (register_atk_event_listeners):
4199 don't unref the noop object - causes grief.
4201 * libspi/registry.c: remove the X headers.
4202 turn off the debug churn.
4204 * libspi/accessible.c (spi_accessible_new_return): only
4205 release the ref if we are supposed to [doh]
4207 * test/simple-at.c (report_button_press, report_focus_event):
4208 guard vs. unexpected exit.
4210 * at-bridge/bridge.c (gtk_module_init): prune printf.
4211 (bridge_exit_func): fix app unref.
4213 * libspi/Makefile.am: don't install registry or desktop.h
4215 * libspi/*.h: update includes.
4217 * libspi/application.h: don't include ourself, or
4218 other redundant headers.
4220 2001-12-06 Michael Meeks <michael@ximian.com>
4222 * libspi/accessible.c
4223 (get_accessible_from_servant): impl.
4224 Upd. all CORBA impl.s to use it killing cut and paste.
4226 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4228 (SPI_init): register atexit cleanup handler here.
4230 2001-12-06 Michael Meeks <michael@ximian.com>
4232 * at-bridge/bridge.c (gtk_module_init): g_error on
4233 activation exception
4235 2001-12-06 Michael Meeks <michael@ximian.com>
4237 * at-bridge/bridge.c (gtk_module_init): some sort of
4238 confusing merge clash - reverted.
4239 (bridge_idle_init): ditto.
4241 * test/test-simple.c (main, utterable_normal_derefs):
4242 merge from Bill - somehow not committed.
4244 2001-12-06 Michael Meeks <michael@ximian.com>
4246 * libspi/value.c (spi_value_class_init): upd.
4247 (spi_value_finalize): kill.
4249 * libspi/table.c (spi_table_finalize): kill.
4250 (spi_table_interface_new): upd.
4251 (spi_table_class_init): upd.
4252 (get_table_from_servant): impl.
4253 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4255 * libspi/selection.c (spi_selection_finalize): kill.
4256 (spi_selection_interface_new): upd.
4257 (spi_selection_class_init): upd.
4258 (get_selection_from_servant): impl.
4259 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4261 * libspi/relation.c (spi_relation_finalize): kill.
4262 (spi_relation_class_init, spi_relation_new): upd
4264 * libspi/image.c (spi_image_finalize): kill.
4265 (spi_image_class_init): upd.
4266 (spi_image_interface_new): upd.
4267 (get_image_from_servant): impl.
4268 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4270 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4271 (spi_hyperlink_finalize): kill.
4272 (spi_hyperlink_new): upd.
4273 (get_hyperlink_from_servant): impl.
4274 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4276 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4277 (spi_hypertext_finalize): kill.
4278 (spi_hypertext_class_init): upd.
4279 (get_hypertext_from_servant): impl.
4280 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4282 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4283 (spi_editable_text_interface_new): upd.
4284 (get_editable_text_from_servant): impl.
4285 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4287 * libspi/text.c (get_text_from_servant): impl.
4288 All impls - update to use it killing more cut and paste,
4289 also fix bad string returns on duff args ( a somewhat
4290 impossible case to handle - but hey ).
4291 (spi_text_construct): impl.
4292 (spi_text_interface_new): upd.
4293 (spi_text_object_finalize): kill.
4295 * libspi/component.c
4296 (accessibility_component_object_finalize): kill.
4297 (spi_component_class_init): upd.
4298 (get_component_from_servant): impl. helper to kill cut & paste.
4299 (impl_accessibility_component_contains):
4300 (impl_accessibility_component_get_accessible_at_point):
4301 (impl_accessibility_component_get_position):
4302 (impl_accessibility_component_get_extents):
4303 (impl_accessibility_component_get_mdi_z_order):
4304 (impl_accessibility_component_get_layer):
4305 (spi_component_interface_new): upd.
4307 * libspi/action.c (spi_action_finalize): kill.
4308 (spi_action_class_init): upd. inherit from SpiObject.
4309 (spi_action_interface_new): upd.
4310 (get_action_from_servant): impl. helper to reduce cut & paste.
4311 (impl_getKeyBinding, impl_getName, impl_doAction),
4312 (impl_getDescription): Use it everywhere.
4314 * cspi/spi_main.c (get_live_refs): a pointer hash.
4315 (spi_object_hash, spi_object_equal): comment out.
4316 There are issues with CORBA object hashing that need
4319 * libspi/application.c (spi_application_init),
4320 (spi_application_new): upd.
4322 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4323 (spi_accessible_class_init): upd.
4324 s/accessible/object/ in epv methods.
4326 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4328 * at-bridge/bridge.c:
4329 Reorder the bridge initialization into the bridge gtk_module_init,
4330 an immediate call to bridge_register_app, and an idle_add for
4331 register_atk_event_listeners (the only code that *must* wait until
4332 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4333 the activation, creates the application's Accessible object, and
4334 queues the bridge_idle_init function. Restored call to
4335 Accessibility_Registry_deregisterApplication().
4336 Prior to making this call we obtain a new reference to the
4337 registry, which is a temporary hack that helps us handle apps that
4338 shut down the bonobo mainloop before we get there.
4340 * libspi/registry.c:
4341 Fix string leakage in debug block, and don't segv if a an app
4342 dies before its event notifications have been propagated.
4345 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4346 as stopgap measure until we get proper exception handling when
4347 objects die during or before interrogation.
4351 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4352 Also changed default value of is_gnome_app to TRUE.
4355 * test/keysynth-demo.c:
4356 Changed use of SPI_init and SPI_event_main to reflect API change above.
4359 Made report_focus_event check the warning value from getName
4360 before reporting on focussed accessible; simplifies handling of
4361 notifications from dead objects.
4363 * test/test-simple.c: (Changes not in this patch since source is
4366 2001-12-05 Michael Meeks <michael@ximian.com>
4368 * registryd/registryd.c (main): protect against
4369 bonobo-activation startup race condition.
4371 * cspi/spi_main.c (cspi_object_add_check): cope
4372 with the exception elegantly.
4374 * idl/Accessible.idl: decl. ChildGone
4376 * libspi/desktop.c (spi_desktop_dispose): impl.
4377 (spi_desktop_class_init): upd.
4378 (spi_desktop_add_application),
4379 (spi_desktop_remove_application),
4380 (abnormal_application_termination): impl.
4381 (impl_desktop_get_child_at_index): re-impl.
4384 (impl_accessibility_registry_deregister_application),
4385 (impl_accessibility_registry_register_application):
4386 kill excessive debug clutter.
4388 * test/test-simple.c (test_misc): test some NULL
4389 tolerance. (main): upd.
4391 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4392 implements no interfaces - so let's not crash.
4394 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4396 * libspi/accessible.c (spi_accessible_new_return): impl.
4397 helper to calm the cut and paste, to cope with
4398 NULL AtkObjects effectively and efficiently, and to kill
4399 the referencing bugs.
4401 * libspi/table.c (impl_getAccessibleAt),
4402 (impl_getRowHeader, impl_getColumnHeader): upd.
4404 * libspi/hyperlink.c (impl_getObject): upd.
4406 * libspi/accessible.c
4407 (impl_accessibility_accessible_get_child_at_index): upd.
4409 * libspi/component.c
4410 (impl_accessibility_component_get_accessible_at_point): upd.
4412 * test/test-simple.c (test_editable_text, test_text): impl.
4415 * cspi/spi_editabletext.c
4416 (AccessibleEditableText_insertText): constify.
4418 * test/test-simple.c (focus_me): make more robust.
4420 * libspi/accessible.c: remove some printfs in methods that
4421 we test and work fine, so we can get a clean tree dump.
4423 * test/test-simple.c (validate_accessible),
4424 (validate_tree): make tree dumping pretty too.
4426 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4427 it builds without debug on.
4429 * test/test-simple.c (validate_accessible): fix the most
4432 * cspi/spi_main.c (spi_object_release): leave the nicely
4433 blanked memory around if in debug mode.
4435 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4437 [committed to fixups2]
4438 2001-12-05 Michael Meeks <michael@ximian.com>
4440 * libspi/editabletext.c
4441 (spi_editable_text_class_init): g_type_class_peek_parent,
4442 not interface peek - so we finalize cleanly.
4444 * libspi/accessible.c (spi_accessible_new): kill debug.
4446 * test/test-simple.c (validate_accessible): fix ref.
4447 leak, print strings before freeing them; sigh, comment a
4448 chunk out due to strangeness.
4449 (validate_tree): unref the child after use.
4451 * cspi/spi_component.c (AccessibleComponent_getLayer):
4452 add missing break statement, switch on zlayer not the
4453 uninitialized retval.
4455 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4456 before (possibly re-entering) remote unref.
4458 * test/simple-at.c (main): unref the desktop.
4460 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4463 * cspi/spi_main.c (cspi_accessible_is_a): here to
4464 isolate bonobo API usage more.
4466 * libspi/registry.c (impl_accessibility_registry_register_application):
4467 prune bogus comment.
4469 2001-12-04 Michael Meeks <michael@ximian.com>
4471 * test/test-simple.c (validate_tree): upd.
4472 IndexInParent check to make it more lucid.
4473 (validate_accessible): dump the tree.
4475 * libspi/accessible.c (de_register_public_ref),
4476 (get_public_refs): impl.
4477 (spi_accessible_new): make more efficient & intuitive.
4478 Now IndexInParent check works.
4480 2001-12-04 Michael Meeks <michael@ximian.com>
4482 * cspi/spi-util.h: remove.
4484 * cspi/spi.h: move SPI_freeString here
4486 * libspi/component.c (impl_accessibility_component_get_layer):
4488 (impl_accessibility_component_get_mdi_z_order): ditto,
4489 return -1 on error - is this ok ?
4491 * test/test-simple.c (test_application): impl.
4493 * cspi/spi_accessible.c (Accessible_getApplication),
4494 (Accessible_isApplication): impl.
4496 * libspi/registry.c (spi_listener_struct_free): release
4497 the CORBA reference too.
4499 * libspi/accessible.c
4500 (impl_accessibility_accessible_get_parent): fix ref leak.
4502 * libspi/registry.c (spi_registry_new): make the registry
4503 immortal - we don't want it to go away ever.
4505 * libspi/application.c
4506 (spi_accessible_application_finalize): impl. cleanup.
4508 * cspi/spi_registry.c
4509 (deregisterGlobalEventListenerAll),
4510 (deregisterGlobalEventListener),
4511 (deregisterAccessibleKeystrokeListener): fix ref leak.
4513 * cspi/spi_main.c (SPI_init): remove redundant ref.
4515 * test/test-simple.c (unutterable_horror): impl. to force a
4520 (impl_accessibility_registry_deregister_application): release
4521 the application when we de-register it.
4523 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4524 until we have the infastructure to get it right.
4526 2001-12-03 Michael Meeks <michael@ximian.com>
4528 * libspi/Makefile.am: only build eventlistener.[ch]
4530 * libspi/accessible.c
4531 (impl_accessibility_accessible_get_child_at_index): don't leak.
4533 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4534 before we hit the idle handler.
4536 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4537 debugging than exit.
4539 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4541 * libspi/listener.c (impl_notify_event): check source
4542 not NIL before unref.
4544 * libspi/registry.c (impl_registry_notify_event): ditto.
4546 * libspi/eventlistener.c
4547 (impl_accessible_event_notify_event): unref the source.
4549 * libspi/accessibleeventlistener.c
4550 (impl_accessible_event_notify_event): unref the source.
4552 * idl/Event.idl: remove 'hash_id' attribute - of no
4555 * libspi/application.c (notify_listeners): upd list
4557 (spi_application_object_event_listener),
4558 (spi_application_toolkit_event_listener): upd to do correct
4562 (_registry_notify_listeners): update.
4563 (parse_event_type): this method also leaks like a sieve.
4564 (impl_accessibility_registry_deregister_global_event_listener):
4565 fix ETYPE_WINDOW case.
4567 * libspi/application.c
4568 (impl_accessibility_application_register_object_event_listener):
4571 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4573 * libspi/hypertext.c (impl_getLink): ditto.
4575 * cspi/spi_main.c (cspi_object_add): remove
4576 bogus CORBA_Object_duplicate.
4578 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4581 * cspi/spi_accessible.c
4582 (Accessible_getRelationSet): fix leak / referencing issue.
4584 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4585 (cspi_object_add, cspi_object_unref): upd.
4586 (spi_object_release, get_live_refs): impl.
4587 (cspi_cleanup): simplify.
4589 * *.[ch]: s/boolean/SpiBoolean/
4591 * cspi/spi_accessible.c (role_names): actualy order so it
4592 corresponds with the enum !
4594 * test/test-simple.c (test_roles): check some role strings
4595 vs. enums to detect offset errors.
4597 2001-12-01 Michael Meeks <michael@ximian.com>
4599 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4601 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4603 (Accessible_getChildAtIndex): use cspi_add_check so we
4604 check the ev before using a (possibly) invalid value.
4606 * libspi/accessible.c
4607 (impl_accessibility_accessible_get_parent): don't segv
4610 * at-bridge/bridge.c (gtk_module_init): upd.
4611 (bridge_property_event_listener): don't leak strings
4613 (bridge_state_event_listener),
4614 (bridge_property_event_listener): don't use a static
4615 buffer in case of recursive event emission &
4616 re-enterancy - split out the swathe of cut and paste
4618 (emit_eventv): and fix 2 ref leaks here & comply to the
4620 (bridge_register_app): rename to
4621 (bridge_idle_init): this and kill arg parsing, split
4622 various inits & bonobo-activation registration to module
4623 init time, kill referencing error.
4624 (bridge_exit_func): fix the same leak.
4625 (bridge_focus_tracker): don't leak event structures
4627 (bridge_signal_listener): more leakage and cut & paste
4629 (bridge_key_listener): return the result - FIXME is
4630 this polarity correct ?
4631 (accessibility_keystroke_from_atk_key_event): rename
4632 (accessibility_init_keystroke_from_atk_key_event): and stop
4634 (gtk_module_init): return a value - not that it is checked by
4636 (bridge_key_listener): register my horror at casting between
4637 IDL defined structs.
4638 (bridge_get_registry): kill - not used.
4640 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4642 * test/test-simple.c (test_roles): impl.
4643 (test_desktop, validate_accessible, validate_tree): impl.
4645 * cspi/spi_accessible.c (role_names): fixup bogus
4646 MAX_ROLES setup, make constants const for efficient linkage
4647 (AccessibleRole_getName): conform to coding style, make
4650 2001-11-30 Michael Meeks <michael@ximian.com>
4652 * cspi/spi.h: add missing prototype.
4654 * libspi/registry.c (spi_listener_struct_new): fix sig.
4656 * test/Makefile.am: add test-simple
4658 * test/test-simple.c: add
4660 * test/test.sh: add.
4662 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4664 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4665 do it straight - since otherwise we often get an activation race.
4667 [ work before Bill duplicated a chunk of it ... ]
4668 2001-11-30 Michael Meeks <michael@ximian.com>
4670 * libspi/keystrokelistener.c
4671 (spi_keystroke_listener_class_init): fixup arg
4674 * libspi/eventlistener.c
4675 (spi_event_listener_class_init): ditto.
4677 * tests/test.sh: add.
4679 * cspi/spi-listener-impl.h: update macros.
4681 * cspi/spi-listener-impl.c
4682 (cspi_event_listener_remove_callback): add
4683 correct pre-conditions.
4685 * cspi/spi_main.c (SPI_exit): guard vs. double
4686 exits, exit the mainloop nicely.
4687 (SPI_event_main): make more sense.
4688 (SPI_init): move the atexit evilness here so we
4689 always do it (yuck).
4690 (SPI_event_main): upd.
4692 * test/simple-at.c: update for listener changes.
4694 * registryd/registryd.c (main): prune kruft.
4696 * libspi/libspi.h: upd.
4698 * libspi/eventlistener.[ch]: rename broken macros.
4700 * libspi/accessibleeventlistener.[ch]: remove.
4702 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4704 * test/test-simple.c: Add - automated tests.
4706 * cspi/spi-listener-impl.c (cspi_event),
4707 (cspi_key_event): add user_data to invoke.
4708 (cspi_keystroke_listener_finalize): impl.
4709 (cspi_keystroke_listener_class_init): upd.
4712 (createAccessibleEventListener),
4713 (AccessibleEventListener_addCallback),
4714 (createAccessibleKeystrokeListener),
4715 (AccessibleKeystrokeListener_addCallback): upd.
4717 * libspi/deviceeventcontroller.c
4718 (spi_device_event_controller_check_key_event): add public proto.
4721 (impl_accessibility_registry_deregister_global_event_listener):
4722 always init listeners.
4723 (_registry_notify_listeners): yes it is.
4725 * cspi/spi-listener-impl.c (cspi_key_event):
4727 (cspi_event_listener_finalize): impl.
4728 (cspi_event_listener_class_init): hook up.
4729 (event_handler_new, event_handler_free),
4730 (event_list_remove_by_callback): impl.
4731 (cspi_event_listener_remove_callback),
4732 (cspi_keystroke_listener_remove_callback),
4733 (cspi_keystroke_listener_add_callback),
4734 (cspi_event_listener_add_callback): upd.
4736 * libspi/keystrokelistener.c
4737 (keystroke_listener_object_finalize): kill
4738 (spi_keystroke_listener_class_init): upd.
4739 (spi_keystroke_listener_add_callback),
4740 (spi_keystroke_listener_remove_callback): kill,
4742 (impl_key_event): prune drasticaly.
4744 * libspi/eventlistener.c
4745 (spi_event_listener_add_callback),
4746 (spi_event_listener_remove_callback): kill, use
4748 (impl_accessible_event_notify_event): upd.
4749 (spi_event_listener_object_finalize): remove.
4751 * libspi/Makefile.am: use eventlistener.[ch]
4753 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4755 * libspi/registry.c (_registry_notify_listeners):
4756 Changed listener loop iteration to use preferred convention.
4757 Got rid of string memory leaks caused be calling g_strconcat
4758 inside function calls.
4760 * libspi/registry.c (parse_event_type):
4761 Stopped g_strconcat memory leaks, free the g_strsplit return,
4762 g_strdup the split pieces when used, etc.
4764 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4767 Change method 'compare' to return a 'difference set' rather than
4768 taking a StateSet as an out parameter (more Java-friendly).
4770 * idl/Accessible.idl:
4771 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4773 * idl/Component.idl:
4775 Changed methods 'getExtents' and 'getImageExtents' in these
4776 interfaces to return a BoundingBox structure.
4777 (getPosition and getSize are redundant and possibly should be
4778 removed, rather than creating a corresponding Point struct.)
4780 * cspi/spi_component.c:
4781 Modify implementation of getExtents to reflect the above IDL
4786 Add (missing) AccessibleImage_getExtents () API.
4788 * docs/reference/cspi/at-spi-cspi-sections.txt:
4789 Added AccessibleImage_getImageExtents () to docs.
4791 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4793 * idl/Component.idl:
4794 Added two methods, getLayer () and getMDIZOrder (), to reflect
4795 the new ATK methods atk_object_get_layer and
4796 atk_object_get_mdi_z_order. (Which arguably should be part of the
4797 AtkComponent API and AtkObject). Also added an enum,
4798 ComponentLayer, for the first method's return value.
4800 * libspi/component.c:
4801 Added implementations for these methods.
4803 * cspi/spi_component.c:
4805 Added cspi binding methods for above,
4806 AccessibleComponent_getLayer() and
4807 AccessibleComponent_getMDIZOrder().
4808 Added cspi enum 'AccessibleComponentLayer'.
4810 * docs/reference/cspi/at-spi-cspi-sections.txt:
4811 Added above methods to docs.
4815 Changed typedef for 'boolean' type (and all references to it) to
4816 SPIBoolean, to avoid keyword clashes with C++.
4819 Changed usages of 'boolean' to SPIBoolean.
4821 * test/keysynth-demo.c:
4822 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4823 app), except where SPIBoolean is required by the callbacks API.
4825 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4827 * cspi/spi_registry.c:
4828 Removed obsolete X event loop for passive keygrabs (which now
4831 * registryd/registryd.c:
4832 Removed unnecessary call to gdk_init() [cruft]. This also allows
4833 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4836 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4838 * docs/reference/cspi:
4839 Included docs for SPI_freeString in generated documentation.
4842 Renamed spi_freeString to SPI_freeString, for consistency. Added
4843 documentation for this function.
4846 Renamed spi_freeString to SPI_freeString, for consistency.
4847 Removed obsolete method declaration string_from_corba_string.
4849 * test/keysynth-demo.c:
4850 Small tweak to comments.
4853 Stopped leaking the strings returned from CSPI.
4855 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4857 Merged Michael's branch (see his ChangeLog entries below).
4859 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4860 bridge is alive, release on exit.
4862 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4863 Fix type check macro.
4866 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4869 Added is_gnome_app static, and method cspi_is_gnome_app(),
4870 so we can call the appropriate shutdown routine at exit in SPI_exit.
4872 * cspi/spi_main.c (cspi_object_ref):
4873 Duplicate the corba object passed in, since we're keeping it around.
4875 * cspi/SPI_exit.c, cspi_cleanup:
4876 Moved the releasing of the live refs to its own function, so we
4877 can put it in g_atexit (). Call the appropriate shutdown API
4878 depending on whethe calling client is a gnome app or not
4879 (bonobo_main_quit or CORBA_ORB_shutdown).
4881 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4882 Unref the listener when this method is called, after
4883 deregistration. Updated the API docs to note this behavior.
4885 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4886 Bugfixes: Ref the bonobo object when returning a parent or child
4887 reference, or an AccessibleRelation. Generally made sure
4888 BonoboObject refcount is incremented whenever we return an
4891 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4892 Fixed typo/bug in signal declaration.
4894 * libspi/accessibleeventlistener.h:
4897 * libspi/application.c (spi_application_new):
4898 Fixed leak in initialization.
4901 Remembered to increment bonobo-object refcount when returning
4902 children (applications) from desktop object.
4903 Added (empty) finalize method.
4905 * libspi/deviceeventcontroller.c:
4906 Hold a ref to listeners inside DEControllerKeyListeners.
4907 Added dec_key_listener_free() method. Use prepend instead of
4908 append in key_listener list. Fixed some refcount madness and
4909 leaks in the listener registration/deregistration - deregistration
4910 now calls dec_key_listener_free() on listeners, and on the
4911 temporarily constructed dec_key_listener() used to perform the search/match.
4913 * libspi/hypertext.c (spi_hypertest_finalize):
4914 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4915 class. Also fixed spi_hypertext_interface_new() and
4916 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4918 * libspi/hypertext.h:
4919 Removed pointless and duplicate AtkObject pointer from
4922 * libspi/keystrokelistener.c:
4923 Fixed incorrect type of keystroke_listener_parent_class,
4924 renamed keystroke_listener_object_finalize to
4925 spi_keystroke_listener_object_finalize.
4926 Fixed typo in signal declaration
4927 (spi_keystroke_listener_class_init).
4929 * libspi/registry.c:
4930 Added funcsions spi_listener_struct_new() and
4931 spi_listener_struct_free() to help with memory management issues.
4932 We also now use these methods instead of gnew + poking stuff into
4933 the struct, and to decrement listener counts/free the listeners
4934 when deregistering them.
4935 Fix more refcount bugs in getDesktop() and
4936 getDeviceEventController().
4939 De-ref the desktop after enumerating the applications. Explicitly
4940 decrement the refcounts on the created listeners on exit (using
4941 _unref for keystroke listeners, and via the
4942 deregisterGlobalEventListenerAll command for other event
4945 2001-11-27 Michael Meeks <michael@ximian.com>
4947 * cspi/spi-listener.h: fixup enum.
4949 2001-11-27 Michael Meeks <michael@ximian.com>
4951 * cspi/spi-listener-impl.c (cspi_event_listener_new),
4952 (cspi_keystroke_listener_new): Use the cspi variants.
4954 2001-11-26 Michael Meeks <michael@ximian.com>
4956 * test/keysynth-demo.c: fix 2 compile warnings, missing
4959 * test/simple-at.c (report_focussed_accessible),
4960 (report_focus_event, report_button_press),
4961 (check_property_change, is_command_key),
4962 (report_ordinary_key_event, report_command_key_event): upd.
4964 * util/mag_client.h: include pre-requisites.
4966 * libspi/accessibleeventlistener.c
4967 (spi_event_listener_object_finalize): free any lingering
4970 * libspi/keystrokelistener.c
4971 (keystroke_listener_object_finalize): ditto.
4973 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
4974 callbacks, with cspi types.
4976 * cspi/spi_event.c (createAccessibleEventListener): chain to
4977 (AccessibleEventListener_addCallback): here.
4978 (createAccessibleKeystrokeListener): chain to
4979 (AccessibleKeystrokeListener_addCallback): here.
4981 * libspi/keystrokelistener.c
4982 (spi_keystroke_listener_class_init): add signal.
4983 (impl_key_event): emit the event.
4984 (boolean_handled_accumulator): impl.
4985 (marshal_BOOLEAN__POINTER): add, gack.
4987 * libspi/accessibleeventlistener.c
4988 (spi_event_listener_class_init): add signal.
4989 (impl_accessible_event_notify_event): emit the signal &
4990 make the loop efficient.
4991 (spi_event_listener_add_callback): prepend the callback.
4993 * libspi/accessibleeventlistener.h: add an 'event' signal,
4994 decl type on callback.
4996 * libspi/keystrokelistener.h: ditto.
4998 * cspi/spi-listener.h: make methods typesafe and
4999 make them use the new event typedefs.
5001 * test/simple-at.c (report_focussed_accessible):
5002 include mag_client.h
5003 Use *(void *)text_interface not the other thing.
5005 * configure.in: add gtk to registryd bits - since we use
5008 * util/magnifier.c: include libbonobo.h
5010 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5012 * test/keysynth-demo.c:
5013 Turned this into a simple scanning keyboard, to demonstrate the
5014 use of g_timeout_add () as a means of creating timers for
5015 scanning, and the use of GtkStyle for visually indicating when
5016 virtual keyboard elements are selected.
5018 keysynth-demo now listens to any keyboard keys with zero-valued
5019 keycodes (i.e. 'unused' keys) and interprets them as
5022 Reworked the shiftlatch code so that shift-down state isn't held
5023 for long periods (it's only synthesized immediately prior to
5024 the keysynth event it's modifying). Note that shiftlatch in this
5025 demo is a convenience, not intended to take the place of AccessX
5026 which is the better choice for getting 'sticky' modifier keys.
5028 * libspi/deviceeventcontroller.c:
5029 * at-bridge/bridge.c:
5030 * cspi/spi_registry.c:
5031 Removed some debug print stuff, and put other verbosity in #ifdef
5036 Implemented some more of the magnifier IDL for the simple
5037 magnifier: namely, getZoomRegionParams.
5038 Added mag_x and mag_y members to MagnifierData struct, aid of this
5040 Added GtkWindow::realize signal handler to magnifier, to keep it
5041 from receiving keyboard focus from the WM.
5043 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5045 * cspi/spi-private.h: my guess at what michael forgot
5046 before he ran off to NZ :-)
5048 2001-11-23 Michael Meeks <michael@ximian.com>
5050 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5051 comment out non existant method invoke so we link.
5053 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5054 use bonobo_exception_get_text for more friendly warnings.
5056 * cspi/spi.c (Obj_Add): move into spi_main & rename
5057 spi_object_add; kill spi.c
5059 * cspi/spi_registry.c
5060 (deregisterGlobalEventListener),
5061 (deregisterGlobalEventListenerAll),
5062 (registerGlobalEventListener): fix exception leaks.
5064 * cspi/spi_main.c (spi_exception): impl. helper, so we
5065 don't leak exceptions.
5067 * cspi/spi_selection.c
5068 (AccessibleSelection_deselectSelectedChild): return the
5071 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5072 (spi_registry): ditto.
5073 (SPI_init): guard against double inits.
5075 * cspi/*.c: use spi_ev (), and spi_registry () where
5076 appropriate - a temporary hack until we have something
5077 better. Use spi_object_add
5079 2001-11-22 Michael Meeks <michael@ximian.com>
5081 * cspi/Makefile.am: re organise, install the headers.
5083 * cspi/*.h: add G_BEGIN/END_DECLS
5085 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5088 Added non-preemptive keylistener for key events with no modifiers
5089 and shift-only modifier.
5091 * libspi/keystrokelistener.c:
5092 Removed some verbose diagnostics printout.
5094 * cspi/spi_registry.c:
5095 Fixed a bug that caused all key listeners to be registered as
5098 * libspi/deviceeventcontroller.c:
5099 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5100 for non-preemptive key masks.
5103 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5105 * docs/reference/idl/at-spi-idl-docs.sgml:
5106 * docs/reference/idl/at-spi-idl-sections.txt:
5107 * docs/reference/idl/at-spi-idl-overrides.txt:
5108 Added missing files.
5110 * docs/reference/Makefile.am:
5111 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5112 to scan the IDL files :-(
5117 Added .cvsignore files.
5119 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5121 * libspi/deviceeventcontroller.c:
5122 * libspi/keystrokelistener.c:
5124 * cspi/spi_registry.c:
5125 Added filters for KeySets, KeyEventSeq, and event types to key
5126 event dispatching, so listeners should only receive those events
5127 that they requested :-)
5129 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5134 * docs/reference:Makefile.am:
5135 * docs/reference/cspi:
5136 * docs/reference/cspi:Makefile.am:
5137 * docs/reference/cspi:tmpl:
5138 * docs/reference/cspi:tmpl:*.sgml:
5139 * docs/reference/idl:
5140 * docs/reference/idl:Makefile.am:
5141 * docs/reference/idl:at-spi-idl-sections.txt:
5142 * docs/reference/idl:at-spi-idl-docs.sgml:
5143 * docs/reference/idl:tmpl:
5144 * docs/reference/idl:tmpl:*.sgml:
5146 Restructured docs directory to allow separate 'reference' docs
5147 section, and forked idl and cspi docs. Added the sgml template
5148 files to CVS. Added the first sections/structural sgml for the
5151 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5153 * configure.in, libspi/Makefile.am: find libXtst.
5155 2001-11-21 Michael Meeks <michael@ximian.com>
5157 * test/accessx-gui.c: s/spi_value/value/ - doh.
5159 * libspi/base.[ch]: add.
5161 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5163 * idl/Accessible.idl:
5164 * idl/Application.idl:
5167 Started gtk-doc cleanup on IDL.
5169 * libspi/deviceeventcontroller.c:
5170 Added and connected non-preemptive key notification from the
5171 toolkits (in addition to the pre-emptive support from XServer
5172 which we had before, but which causes 'focus flashing'). Filters
5173 are presently limited to key modifiers and global/non-global,
5174 KeySets are presently ignored, as are KeyEvent masks.
5176 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5177 structs into the persistant structure rather than just storing
5178 pointers to things that might not persist across servant
5181 The XGrabKey call now does async keygrabs, because synchronous
5182 ones were deadlocking with GDK_event code in a very nasty way.
5184 Added boolean to internal method notify_keylisteners, to indicate
5185 whether the event came from the 'toolkit source' or the 'global
5186 (XServer) source' - this is used in the notification process to
5187 determine which listeners to send the event to.
5189 deviceeventcontroller.c is now warning-free.
5191 * libspi/registry.c:
5192 Fixed regression in application de-registration.
5193 Also fixed some really brain-dead weirdness having to do with
5194 event dispatching - event structs are now duplicated before being
5195 re-marshalled in the dispatch to listeners. This also fixes a
5196 Solaris build problem.
5199 2001-11-20 Michael Meeks <michael@ximian.com>
5202 (impl_accessibility_registry_deregister_global_event_listener):
5205 * libspi/deviceeventcontroller.c
5206 (spi_device_event_controller_check_key_event): return
5207 FALSE on no virtual method.
5209 * libspi/*..h: make includes work on a correctly pathed install.
5211 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5213 * libspi/application.h: kill unused ( and whacked out )
5214 gboolean *spi_application_set_id (AtkObject *app, long id);
5216 2001-11-20 Michael Meeks <michael@ximian.com>
5218 * libspi/*.[ch]: further convert to bonobo's type func
5219 macros, remove redundnant casts etc.
5221 * libspi/text.c s/accessibility_text/spi_text/g,
5222 re-order to de-cruft.
5224 * libspi/hypertext.c: re-order to kill a huge slew
5225 of redundant forward decls.
5227 * libspi/relation.c: ditto.
5229 * libspi/image.c: ditto.
5231 * */.cvsignore: update
5233 2001-11-20 Michael Meeks <michael@ximian.com>
5235 * libspi/deviceeventcontroller.c
5236 (_controller_register_with_devices): use g_getenv,
5237 kill stdlib.h include.
5239 * libspi/keystrokelistener.c
5240 (spi_keystroke_listener_get_type): kill
5241 (spi_keystroke_listener_class_init),
5242 (spi_keystroke_listener_init): rename to this.
5244 * libspi/text.c (impl_getAttributes): fix warning / bug.
5246 * libspi/*.[ch]: more headers, includes and over commenting.
5248 2001-11-20 Michael Meeks <michael@ximian.com>
5250 * libspi/*.[ch]: fixup headers, includes and over commenting.
5252 * libspi/image.c (impl__get_imageDescription): const
5253 correctness warning fix. remove redundant casting.
5255 * libspi/table.c (impl_getRowDescription): ditto.
5256 (impl_getColumnDescription): ditto.
5258 * libspi/libspi.h: add.
5260 2001-11-19 Michael Meeks <michael@ximian.com>
5262 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5264 * libspi/component.c (accessibility_component_get_type):
5265 rename to (spi_component_get_type): and macroify.
5266 (accessibility_component_init): rename to
5267 (spi_component_init): this
5268 (accessibility_component_class_init): rename to
5269 (spi_component_class_init): this
5271 * libspi/action.c (spi_action_get_type): kill, use the macro.
5273 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5276 * libspi/application.c (spi_application_object_event_listener),
5277 (impl_accessibility_application_register_object_event_listener):
5278 warning fixes / const understanding updates.
5280 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5283 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5285 * libspi/spi_accessible.c: Added docs and C bindings for
5286 AccessibleStateSet. (No implementations yet). Documentation
5287 coverage for C bindings now 100%. Made docs for event listeners
5292 boolean notifyListenersSync (in DeviceEventListener listener,
5293 in DeviceEvent event);
5295 oneway void notifyListenersAsync (in DeviceEventListener listener,
5296 in DeviceEvent event);
5298 Added DeviceEventListener and DeviceEvent structs (may deprecate
5299 KeyStroke and KeystrokeListener in favor of this generic
5300 event/listener framework for devices).
5302 * libspi/deviceeventcontroller.c:
5304 Changed some key listener code to take masks, etc., and paved the
5305 way for integration of toolkit/non-preemptive key events. Changed
5306 signatures of some internal methods.
5308 * at-bridge/bridge.c:
5309 Fixed regression connecting to interface signals, apparently
5310 caused by GTK+ changes.
5312 Added an internal bridge_state_listener to deal with
5313 property-change:accessible-state signals.
5315 Changed the key_listeners GList to store structs (including masks,
5316 etc.) instead of just CORBA_Objects (required for full
5317 implementation of key listener API).
5319 Connected the bridge to all currently supported Atk signals.
5320 Events now supported:
5321 object:property-change
5322 object:property-change:accessible-name
5323 object:property-change:accessible-state
5324 object:property-change:accessible-description
5325 object:property-change:accessible-parent
5326 object:property-change:accessible-value
5327 object:property-change:accessible-role
5328 object:property-change:accessible-table-caption
5329 object:property-change:accessible-table-column-description
5330 object:property-change:accessible-table-column-header
5331 object:property-change:accessible-table-row-description
5332 object:property-change:accessible-table-row-header
5333 object:property-change:accessible-table-summary
5334 object:children-changed
5335 object:visible-data-changed
5336 object:selection-changed
5337 object:text-selection-changed
5339 object:text-caret-moved
5341 object:row-reordered
5343 object:column-inserted
5344 object:column-reordered
5345 object:column-deleted
5346 object:model-changed
5348 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5350 * libspi/hyperlink.c,h:
5351 Fixed some broken stuff in hyperlink.
5353 * libspi/relation.h:
5354 * libspi/relation.c:
5355 * cspi/spi_accessible.c:
5356 Initial implementations of AccessibleRelation methods, and docs.
5358 * libspi/accessible.c:
5359 Fixed a bug that caused SEGV if an accessible
5360 object's description is NULL, and a client
5361 requests it. An empty string is now returned.
5363 * cspi/spi_editabletext.c:
5364 * cspi/spi_hypertext.c:
5366 * cspi/spi_hyperlink.c:
5370 Doc coverage now 95%.
5372 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5374 One last namespacing revision:
5375 * libspi/accessibleeventlistener.[ch]:
5376 Renamed SpiAccessibleEventListener to SpiEventListener,
5377 (no need for two namespaces ;-)
5379 And lots of documentation fixes:
5381 * docs/at-spi-docs.sgml:
5382 Fixed 'underscore vs. hyphen' bug that was preventing
5383 the gtk-doc API docs from being automatically generated.
5386 * cspi/spi-listener.h
5388 * cspi/spi_accessible.c
5390 * cspi/spi_application.c
5391 * cspi/spi_component.c
5392 * cspi/spi_editabletext.c
5394 * cspi/spi_hypertext.c
5396 * cspi/spi_registry.c
5397 * cspi/spi_selection.c
5401 * docs/at-spi-docs.sgml
5402 * docs/at-spi-sections.txt
5404 Added and fixed up gtk-doc documentation in cspi.
5406 Interfaces now (fully) documented (subject to revision and enhancement):
5408 Event Listener Support
5410 AccessibleApplication
5414 AccessibleEditableText
5421 AccessibleRelationSet
5426 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5428 * at-bridge/bridge.c:
5429 Initial work for toolkit-level key snooper connection by bridge.
5434 New typedefs and fixes to support new namespacing, and cleaner
5435 separation of cspi bindings from libspi bonobo implementation.
5436 Removed inconsistent and extraneous Spi* namespace prefix that
5437 had crept into cspi headers.
5438 Lots of comment fixes that sed had missed.
5440 * cspi/spi-roletypes.h:
5441 * cspi/spi-statetypes.h:
5442 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5443 to AccessibleRoleType.
5445 * libspi/accessibleeventlistener.h:
5446 Fixed minor namespacing weirdness.
5448 * libspi/deviceeventcontroller.c:
5449 Reordered some internal API for device listeners.
5450 Changed the key registry final boolean to 'is_system_global'
5451 rather than 'is_synchronous', which is more descriptive of its
5453 Added spi_device_event_controller_new().
5454 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5456 * libspi/keystrokelistener.[ch]:
5457 Namespaced KeystrokeListener to SpiKeystrokeListener.
5458 Changed uses of keymasks to use SPI_ prefix, and did other
5461 * libspi/keymasks.h:
5462 Namespaced keymask constants with SPI_ prefix.
5464 * libspi/registry.c:
5465 Some warning fixes, and knock-on fixes from namespace changes.
5468 Added rules for accessx-gui test program.
5470 * test/accessx-gui.c:
5471 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5472 utility. It doesn't actually use at-spi, but it's still cool and
5475 * test/keysynth-demo.c:
5479 Fixes so that these test clients work properly with the namespaced
5480 libraries. (Incompletely tested for technical reasons, fixes may follow)
5483 2001-11-13 Michael Meeks <michael@ximian.com>
5485 * libspi/application.c
5486 (impl_accessibility_application_get_version),
5487 (impl_accessibility_application_get_toolkit_name):
5489 (impl_accessibility_application_set_id),
5490 (impl_accessibility_application_get_id): remove
5491 redundant casting code.
5493 * libspi/action.c (impl_getDescription): fix warnings.
5495 * libspi/accessible.c
5496 (impl_accessibility_accessible_get_parent),
5497 (impl_accessibility_accessible_get_child_at_index),
5498 (impl_accessibility_accessible_get_state),
5499 (impl_accessibility_accessible_get_relation_set):
5500 warning fixes & include action.h
5502 2001-11-13 Michael Meeks <michael@ximian.com>
5504 * *.[ch] fix bits I screwed up:
5506 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5507 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5509 2001-11-13 Michael Meeks <michael@ximian.com>
5511 * *.[ch] Namespace libspi into spi_ and Spi.
5513 2001-13-11 Michael Meeks <michael@ximian.com>
5515 * Makefile.am: dist & install at-spi-1.0.pc
5517 * libspi/Makefile.am: install into at-spi-1.0
5519 * idl/Makefile.am (idldir): install into at-spi-1.0
5521 * at-spi-1.0.pc.in: add.
5523 * configure.in: build it.
5525 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5527 * test/keysynth-demo.c:
5528 Use a 'realize' signal-handler to set the WM properties for
5529 the virtual keyboard, rather than making it a "POPUP" type
5530 override-redirect window (thanks to anders carlsson for that
5533 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5536 * test/keysynth-demo.c:
5537 Added new test of key synthesis, which creates a simple
5538 (mouse-operated) onscreen keyboard. It inserts key events into
5539 the currently-focused window, thus it does not grab keyboard focus
5542 * cspi/spi_registry.c:
5543 Added C binding for AT-SPI generateKeyEvent.
5545 * libspi/deviceeventcontroller.c:
5546 Added call to XFilterEvent so that key listener works with XIM (we
5547 hope). Added event_synth_type to generateKeyEvent, so that we can
5548 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5549 synthesize a press/release pair for KeySyms.
5551 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5553 * libspi/Makefile.am:
5554 * registryd/Makefile.am:
5555 (temporary) hack to include libXtst in libspi and registryd.
5556 (Needed for keystroke synthesis, see below).
5559 Improved API for registerKeystrokeListener, in accordance with
5560 discussions with Gnopernicus team and X server research.
5562 * libspi/registry.c:
5563 * libspi/deviceeventcontroller.c:
5564 * libspi/accessible.c:
5565 * libspi/keystrokelistener.c:
5566 Changes and fixes to support keylisteners for potentially
5567 consumed key events (that is, 'passive grabs').
5568 Added implementation for generateKeyEvent() [untested].
5571 Changes to registerKeystrokeListener() API, as above.
5572 Added deregisterGlobalEventListenerAll(), and
5573 deregisterKeystrokeListener(), which are needed for clean exit of
5575 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5576 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5578 * cspi/spi_registry.c:
5579 Added implementations of function prototypes mentioned above.
5581 * registryd/registryd.c:
5582 Added the key listener event source as a g_timeout(), to allow
5583 receipt of key events that are not caught by GDK (since GDK
5584 doesn't support passive keygrabs, this was necessary).
5587 Changed to attach a keylistener to 'Alt' keys, and
5588 respond to the following keycommands: Alt-M (toggle magnifier);
5589 Alt-F (toggle speech); Alt-Q (quit).
5590 Added an exit routine to deregister the listeners, and a key
5591 listener that prints some key info to the console when a key
5592 matches the listener mask (and is thus received by the listener).
5594 * util/idl/Magnifier.idl:
5595 Changes to magnifier API to support multiple zoom regions,
5596 non-uniform scaling in x and y, markDirty, and a host of other
5597 features that would be useful to magnification.
5600 * util/mag_client.c:
5601 * util/mag_client.h:
5602 * util/mag_control.c:
5604 Source code changes to support the above IDL changes.
5607 As above, and also changes to use a (slower) generic conversion
5608 path for colormap conversions, since the fast RGB conversions have been
5609 reported to fail for 16-bit displays.
5611 2001-10-26 Michael Meeks <michael@ximian.com>
5613 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5615 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5617 * at-bridge/Makefile.am: fix LDFLAGS.
5619 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5621 * at-bridge/bridge.c:
5622 Re-worked listeners for toolkit events, now we have signal
5623 and property listeners. Added a private method
5624 register_atk_event_listeners(), which registers with the
5625 various atk and gtk signals we need to monitor in order to emit
5627 Added emission hook for AtkObject:property-change events, to
5628 support the 'property listeners'.
5629 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5632 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5633 which emit warnings and exit, respectively, if CORBA errors occur
5634 during remote calls, and we now use these methods to check most of
5635 our CORBA calls in the C bindings.
5637 * cspi/spi_accessible.c:
5638 Changed AccessibleSelection_refSelectedChild() to
5639 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5640 now increment refcounts.
5642 * cspi/spi_component.c:
5643 Fixed some long pointer casts (dangerous!) to pass pointers to
5644 CORBA_longs of the proper type to the CORBA stubs, and copy the
5645 data into the longs that were passed into the C bindings code.
5647 * at-bridge/bridge.c:
5649 * libspi/accessible.c:
5650 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5651 hyperlinks, AtkHyperlink is an object type.
5653 * libspi/application.c:
5654 Added various conversions to and from "generic" event types and
5655 atk-specific types; this is really part of the 'bridge'
5656 implementation but is valid for all AtkObject-based accessibility
5659 * libspi/editabletext.c:
5660 Fixed nasty bug wherein editable text's finalize method was
5661 unref'ing tha AtkObject reference that the text parent class was
5662 about to unref _again_. There was also a nasty inheritance bug
5663 that meant that the AccessibleEditableText class was corrupt.
5665 * libspi/selection.c:
5666 Provided implementations for some selection API that was broken.
5668 * idl/Application.idl:
5669 Added registerObjectEventListener () method.
5672 Fixed a number of return values that were Bonobo_Unknowns from
5673 bonobo_object_corba_objref(), which I
5674 forgot to dup before returning. Changed instances of
5675 bonobo_object_corba_objref (bonobo_object(o)) to
5676 BONOBO_OBJREF(o), for concision and clarity.
5678 2001-10-13 Louise Miller <louise.miller@sun.com>
5680 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5681 idl/Event.idl, idl/Registry.idl
5682 Changed these files to include Bonobo_Unknown.idl instead
5685 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5687 * libspi/component.c libspi/component.h:
5688 Fixed typo. Added assertions for object checks in
5689 AccessibleComponent code.
5691 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5693 * idl/Accessible.idl:
5694 Added 'isEqual (Accessible *object)'
5695 method for Accessible. (Not Yet Implemented).
5698 Changed signature of registerKeystrokeListener() to
5699 take a KeySet and KeyEventSeq so that specific keys and event
5700 types could be requested for monitoring, and added a flag
5701 is_synchronous so that either synchronous or asynchronous
5702 notification could be requested. (However this is not all
5703 implemented yet). This also meant adding two new typedefs,
5704 KeyEventSeq and KeySet.
5707 Added two new relations, RELATION_TOOLTIP_FOR and
5708 RELATION_LEAFNODE_OF.
5711 Added new state, STATE_HAS_TOOLTIP.
5713 * libspi/text.c, editabletext.c:
5714 Added new assertions to all casts of bonobo-objects from
5715 CORBA servants, to prevent Text API calls on non-text objects.
5716 Changed suspect casts of int-pointer types, so that we
5717 always send a valid CORBA_long pointer to the CORBA APIs that use
5718 in/out long parameters. We then have to copy from the CORBA_long
5719 into the regular long or int for return to the C bindings, or
5720 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5723 * libspi/deviceeventcontroller.c:
5724 Cleaned these sources up.
5726 Changed return type for getCharacterAtOffset to
5727 CORBA_unsigned_long, to allow for 32-bit characters.
5730 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5734 Fixed 'make dist' so that distro compiles...
5735 * libspi/keymasks.h:
5737 * cspi/spi-listener.c:
5738 KeystrokeListenerCB now returns a boolean.
5740 Added KeyEventType struct, and KeyStroke.
5741 Also added createKeystrokeListener(),
5742 KeystrokeListener_addCallback(),
5743 KeystrokeListener_removeCallback(), and added a keymask to
5744 registerKeystrokeListener().
5745 * cspi/spi_accessible.c:
5746 Changed numerous return types for interfaces from
5747 AccessibleComponent to Accessible<InterfaceName>; this was
5748 probably a cut-and-paste error.
5750 Implementations of new KeystrokeListener api (from spi.h,
5753 Changes to key modifier mapping.
5754 Created ControllerEventMask struct.
5755 Made DeviceEventController derive from Bonobo::Unknown.
5757 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5758 * libspi/deviceeventcontroller.c:
5759 Added a number of new internal (private) methods.
5760 * libspi/editabletext.c:
5761 * libspi/editabletext.h:
5762 Fixed a number of bugs related to the fact that
5763 editabletext inherits from text. Fixed the EditableText struct,
5764 the init() call, and use correct casts when calling Text methods
5765 from an EditableText object. Removed (duplicate) atko from the
5766 EditableText structure, we use the one in the parent Text
5767 structure via the casts mentioned above.
5768 * libspi/keystrokelistener.[ch]:
5769 * libspi/registry.c:
5770 Changes in support of keyboard handling (above).
5772 Keyboard handling, though partly functional, is still not
5773 recommended for at-spi client use as there is considerable
5774 work yet to be done.
5777 Changed some places where pointers to various int types
5778 are cast to be pointers to CORBA_long types and vice-versa:
5779 pointer casting is not safe so we pass pointers of the correct
5780 types and then cast the result before putting it into the target
5783 * libspi/text.h: minor typos corrected.
5785 We now speak not only the name of a Text element, but the
5786 first sentence of its content, when it receives focus.
5787 I also changed the text compression to 75% from 50%.
5788 * util/Accessibility_Util.server.in:
5789 Changed the default magnifier type to be a 3x vertical
5790 splitscreen magnifier (was previously a 2x horizontal one).
5792 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5794 * libspi/keystrokelistener.h:
5795 * libspi/keystrokelistener.c:
5796 Initial functional implementations of KeystrokeListener.
5799 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5801 Fixed string handling for NULL strings in libspi.
5802 Added spi_freeString to free strings returned by C bindings.
5804 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5806 * libspi/keystrokelistener.h:
5807 * libspi/keystrokelistener.c:
5808 Began (no-op) implementations of KeystrokeListener
5810 * libspi/deviceeventcontroller.c:
5811 * libspi/deviceeventcontroller.h:
5812 Began creating implementations of DeviceEventController,
5813 to handle keystroke and mouse event listening and
5815 * libspi/accessible.c:
5816 Stubbed-in the implementations for
5817 Accessibility_Accessible_getState and
5818 Accessibility_Accessible_getRelationSet.
5819 * libspi/registry.c:
5820 Improved de-registration process and fixed some bugs,
5821 deregistration now works correctly.
5823 Added initialization of applications list (to NULL).
5825 Reduced speech compression from 0.5 to 0.7, for demo.
5826 Changed call to gdk_window_set_decorations()
5827 to gtk_window_set_decorated().
5828 * at-bridge/bridge.c:
5829 Bridge now deregisters when app exits, via
5830 registration of a cleanup function
5831 with the g_atexit() call.
5832 Required making 'app' static, renamed 'this_app'.
5833 Fixed broken use of bonobo_init, passing argv wrongly.
5835 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5839 Created a new directory for
5840 accessibility-related utilities, primarily for
5841 testing and demo purposes, but with possible
5848 Onscreen magnifier utility that
5849 is implemented as a bonobo service.
5851 * util/mag_client.c:
5852 * util/mag_client.h:
5853 Client-side support (simple C bindings)
5854 for Magnification service
5856 * util/mag_control.c:
5857 Client program example for
5858 Magnification service
5860 * util/Accessibility_Magnifier.server.in:
5861 Bonobo-activation file for the
5862 Magnification service.
5865 * util/idl/Magnifier.idl:
5866 IDL defining the bonobo Magnification
5870 Modifications to use the bonobo-activated magnifier
5871 above, in place of trying to connect to an existing
5872 magnifier that uses socket-listening IPC.
5874 If env variable MAGNIFIER is set, a magnifier service
5875 will be started if one does not exist.
5877 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5879 * at-bridge/bridge.c:
5880 applied patch from Marc to build and run
5881 against new glib and gtk+ (seemed like a change
5882 to bonobo_init signature was made ?)
5884 made festival-server support turned off by default.
5885 Added support for a simple magnifier (off by default)
5886 which will be added to a 'util' directory later.
5887 * at-bridge/Makefile.am:
5888 Changed "application.h" header from a 'source'
5889 to a 'dependency' of libat-bridge.
5891 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5900 Added interface implementation c files to list of
5901 includes so they are included in libcspi.
5904 Changed prototype of AccessibleAction_doAction to return a
5906 Changed prototype of AccessibleTable_getCaption to
5907 return an Accessible.
5908 Changed prototype of AccessibleTable_getSelectedRows
5909 and AccessibleTable_getSelectedColumns to
5910 return a long (returns the number of selected rows
5911 or columns respectively).
5912 Changed name of AccessibleText_refRunAttributes to
5913 AccessibleText_getAttributes.
5914 Changed prototype of AccessibleText_getCharacterExtents to
5915 return a void rather than a boolean.
5916 Added support for a AccessibleCoordType parameter
5917 specifying what type of coordinates are desired.
5918 Added an AccessibleCordType parameter to
5919 AccessibleText_getPointAtOffset.
5921 * cspi/spi_accessible.c:
5922 Added code to return the outstanding interfaces from
5923 Accessible_queryInterface.
5925 * cspi/spi_action.c:
5927 Corrected call to getNActions to call the c binding
5930 * cspi/spi_editabletext.c:
5932 Changed name from setRunAttributes to setAttributes.
5934 * cspi/spi_hyperlink.c:
5936 Changed call to getNAnchors to correctly call the c
5937 binding for an attribute.
5939 * cspi/spi_hypertext.c:
5941 Changed getImageDescription to correctly call the
5942 binding for an attribute.
5944 * cspi/spi_selection.c:
5945 Changed getNSelectedChildren to correctly call the c
5946 binding for the attribute.
5947 Changed refSelectedChild to getSelectedChild.
5951 Changed getCaption to return an Accessible.
5952 Fixed calls which retrieve attributes.
5953 Changed refAt to getAccessibleAt.
5954 Changed getNSelectedRows and getNSelectedColumns to
5958 Changed getCharacterExtents and getPointAtOffset to accept an
5959 AccessibleCoordType.
5961 Changed calls which retrieve attributes.
5962 Changed refRunAttributes to getAttributes.
5967 * idl/Hyperlink.idl:
5968 Changed n_anchors attribute to nAnchors to keep naming
5969 convention consistent.
5972 Made Table inherit from Bonobo::Unknown.
5973 Added nSelectedColumns and nSelectedRows attributes.
5976 Made Value inherit from Bonobo::Unknown.
5978 * libspi/hyperlink.c:
5979 Change for nAnchors attributte name change.
5981 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5989 Added interface implementation c files to list of
5990 includes so they are included in libcspi.
5993 Changed prototype of AccessibleAction_doAction to return a
5995 Changed prototype of AccessibleTable_getCaption to
5996 return an Accessible.
5997 Changed prototype of AccessibleTable_getSelectedRows
5998 and AccessibleTable_getSelectedColumns to
5999 return a long (returns the number of selected rows
6000 or columns respectively).
6001 Changed name of AccessibleText_refRunAttributes to
6002 AccessibleText_getAttributes.
6003 Changed prototype of AccessibleText_getCharacterExtents to
6004 return a void rather than a boolean.
6005 Added support for a AccessibleCoordType parameter
6006 specifying what type of coordinates are desired.
6007 Added an AccessibleCordType parameter to
6008 AccessibleText_getPointAtOffset.
6010 * cspi/spi_accessible.c:
6011 Added code to return the outstanding interfaces from
6012 Accessible_queryInterface.
6014 * cspi/spi_action.c:
6016 Corrected call to getNActions to call the c binding
6019 * cspi/spi_editabletext.c:
6021 Changed name from setRunAttributes to setAttributes.
6023 * cspi/spi_hyperlink.c:
6025 Changed call to getNAnchors to correctly call the c
6026 binding for an attribute.
6028 * cspi/spi_hypertext.c:
6030 Changed getImageDescription to correctly call the
6031 binding for an attribute.
6033 * cspi/spi_selection.c:
6034 Changed getNSelectedChildren to correctly call the c
6035 binding for the attribute.
6036 Changed refSelectedChild to getSelectedChild.
6040 Changed getCaption to return an Accessible.
6041 Fixed calls which retrieve attributes.
6042 Changed refAt to getAccessibleAt.
6043 Changed getNSelectedRows and getNSelectedColumns to
6047 Changed getCharacterExtents and getPointAtOffset to accept an
6048 AccessibleCoordType.
6050 Changed calls which retrieve attributes.
6051 Changed refRunAttributes to getAttributes.
6056 * idl/Hyperlink.idl:
6057 Changed n_anchors attribute to nAnchors to keep naming
6058 convention consistent.
6061 Made Table inherit from Bonobo::Unknown.
6062 Added nSelectedColumns and nSelectedRows attributes.
6065 Made Value inherit from Bonobo::Unknown.
6067 * libspi/hyperlink.c:
6068 Change for nAnchors attributte name change.
6071 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6073 implementations-- made server implementations own AtkObject pointers
6074 rather than their respective AtkInterrface pointers to fix
6075 refcounting. AtkHyperlink is still broken.
6077 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6078 * cspi/spi_accessible.c:
6079 Added method Accessible_Role_getName(),
6080 and requisite string array (role_names).
6081 Added conversion string_from_corba_strin() call
6082 to Accessible_getName and _getDescription.
6083 * libspi/accessible.c:
6084 Added implementation for Accessible_getRole()
6086 Added festival support, used if environment variable
6089 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6091 * at-bridge/bridge.c:
6092 Now allocate Accessibility_Event using
6093 Accessibility_Event__alloc() instead of g_new0().
6094 * libspi/accessibleeventlistener.c:
6095 Initialize AccessibleEventListener->callbacks to NULL.
6096 Fixed accessible__event_listener_init() param, changed to
6097 "AccessibleEventListener *" type.
6098 Changed a bonobo_object_release_unref() call to
6099 Accessibility_Accessible_unref().
6100 * libspi/listener.c:
6101 Changed Bonobo_Unknown_unref to (equivalent)
6102 Accessibility_Accessible_unref.
6103 * libspi/registry.c:
6104 Changed bonobo_object_release_unref to
6105 Accessibility_Accessible_unref.
6107 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6110 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6111 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6112 spi-util.c spi-util.h
6113 Implementations for C bindings to remaining accessibility
6116 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6119 changed return value of Action from void to boolean to
6120 bring in line with ATK.
6123 Changed getText funcions to return "out" start and end offsets.
6124 Changed getAttributes to take and offset and return the start
6125 and end offset of the attribute run.
6126 Changed getOffsetAtPoint and getCharacterExtents to take an
6127 enum describing whether coordinates are window or screen.
6130 libspi/action.c libspi/action.h libspi/editabletext.c
6131 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6132 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6133 libspi/image.h libspi/selection.c libspi/selection.h
6134 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6135 libspi/value.c libspi/value.h
6136 Added server implementations for outstanding ATK interfaces
6137 not yet implemented.
6139 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6142 Added (missing) getName() method.
6143 Made nActions an attribute.
6144 * idl/EditableText.idl:
6145 Changed order of params in setAttributes.
6146 * idl/Hyperlink.idl:
6147 Removed getAnchor, added getURI.
6149 Changed attributes to methods, for efficiency
6150 (so that getting extents can be done in one call)
6151 * idl/Selection.idl:
6152 Changed nSelectedChildren to attribute, and re-indented.
6153 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6155 * idl/Text.idl: reformatted to match our coding style.
6156 (temporarily?) removed getRowColumnAtOffset().
6157 Changed text selection API to support multi-select and
6158 non-contiguous selections, as in ATK.
6159 * idl/Value.idl: changed some methods to attributes.
6161 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6163 * libspi/listener.c(impl_notify_event):
6164 BonoboUnkown_unref the source instead
6165 of bonobo_object_release_unref - the ORB
6166 handles the releasing.
6168 * configure.in: require ORBit-2.3.94 for
6171 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6173 Tagged CVS repository 'EA_1_0'.
6174 * README.EARLY_ACCESS:
6175 Alphabetized acknowledgements list, and
6177 Listed some known dependencies of at-spi.
6179 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6181 * docs/at-spi-docs.sgml:
6182 * docs/at-spi-sections.txt:
6183 * docs/at-spi-overrides.txt: (Added zero-length file)
6184 Documentation improvements - gtk-doc should build
6185 docs for all implemented C bindings now.
6188 * cspi/spi.c: (New file)
6189 * cspi/spi_event.c: (New file)
6190 * cspi/spi_registry.c: (New file)
6191 * cspi/spi_accessible.c: (New file)
6192 * cspi/spi_application.c: (New file)
6193 * cspi/spi_component.c: (New file)
6194 Split spi_main.c into six parts, and included them from
6195 "spi.c". This is a bit of a hack, probably temporary,
6196 but required by gtk-doc, apparently.
6198 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6201 * docs/at-spi-docs.sgml:
6202 * docs/at-spi-sections.txt:
6204 Initial checkins/modifications for gtk-doc generation.
6207 Added (missing) interface query methods to Accessible's C binding.
6209 Added GenericInterface type definition.
6211 Added query for AccessibleComponent interface to focus event handler.
6212 Added printout of bounding box for focussed component.
6213 * libspi/component.c:
6214 Added partial implementation for AccessibleComponent to C binding.
6215 * idl/Application.idl:
6216 * libspi/registry.c:
6217 * libspi/listener.c:
6218 * libspi/application.c:
6219 * libspi/application.h:
6220 Changed "ID" attribute type from string to long.
6222 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6226 Made method naming consistent: methods taking object args
6227 start with uppercase, other methods (except those using
6228 acronyms) start with lowercase. Underscores delimit between
6229 object names and method names:
6230 SPI_init() - uppercase since it starts with an acronym.
6231 getDesktopCount () - lowercase start since no object param0.
6232 Accessible_getName() - uppercase object type name, studlyCaps method
6236 Added gtk-doc documentation for all currently implemented
6237 methods in the C bindings API.
6239 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6241 * Makefile.am : changed build order to build test last.
6244 Changed "createEventListener" to "CreateEventListener".
6245 * libspi/accessibleeventlistener.c :
6246 Bugfix for addition of callbacks.
6247 * test/Makefile.am :
6248 * test/simple-at.c :
6249 Added new test that uses the C bindings API.
6251 * libspi/listener.c :
6252 * libspi/registry.c :
6253 * libspi/accessibleeventlistener.c :
6254 * at-bridge/bridge.c :
6255 Renamed member "target" of Accessibility_Event to "source",
6256 which is more descriptive.
6259 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6263 * cspi/Makefile.am :
6264 Added makefile support for at-spi/cspi directory.
6267 * cspi/spi-listener.h : (NEW FILE)
6268 Added support for/use of spi-listener.h.
6270 C bindings now build successfully, with no warnings.
6271 * libspi/accessibleeventlistener.h : (NEW FILE)
6272 * libspi/accessibleeventlistener.c : (NEW FILE)
6273 * libspi/Makefile.am :
6274 Added new object type "AccessibleEventListener"
6275 which inherits from Listener, and allows attachment
6276 of in-process callbacks (so that a client with a listening
6277 object instance can add functionality to the local
6278 implementation, dynamically).
6280 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6282 * libspi/accessible.c:
6283 Add implementation for get_index_in_parent().
6285 Added #include of "spi-roletypes.h", and
6286 added enumerated type AccessibleCoordType.
6287 Added definition for KeystrokeListener (function type).
6290 * cspi/spi-statetypes.h :
6291 * cspi/spi-roletypes.h :
6293 Added these headers, used by spi.h.
6295 Added code (NOTE: not yet built by make).
6297 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6299 * libspi/Makefile.am: generate imodule
6300 at the same time as other idl compiler
6303 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6304 * libspi/registry.c :
6305 * libspi/application.c :
6306 * idl/Application.idl :
6307 Made registration with toolkit an application method,
6308 which is required since each app has its own toolkit static
6309 environment. Thus the bridge must register for
6310 notification of toolkit events from each application in turn.
6311 Toolkit notifications are now successfully registered for, and
6312 sent to the listening at client.
6314 Changed toolkit event string to use hyphens rather than underscores.
6315 * libspi/listener.c :
6316 listner now gives more info in debug mode - it reports the
6317 name of the event received, as well as the name of the source.
6320 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6322 * libspi/registry.c :
6323 added more implementation for toolkit events.
6324 Fixed bug such that toolkit event registrations
6325 (via atk) use the whole event name string, not
6327 Removed a useless call to an ORBit_ method.
6328 * at-bridge/bridge.c :
6329 Removed unused local sbuf[] variable.
6331 We now register for Gtk:GtkWidget:button_press_event
6332 events as well as "focus:" events.
6334 Add some more API from Registry.idl that was missing,
6335 for keystroke listening, keystroke and mouse event
6336 synthesis, and enumeration of accessible desktops.
6338 2001-08-16 Michael Meeks <michael@ximian.com>
6340 * configure.in: use AM_GLIB_GNU_GETTEXT.
6342 * Makefile.am (SUBDIRS): kill intl.
6344 2001-08-15 Michael Meeks <michael@ximian.com>
6346 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6348 * configure.in: upd.
6350 * configure.in: depend on a recent bonobo-activation that
6351 will find our server files ...
6353 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6355 * libspi/accessible.c : accessible_new() :
6356 Now we add the Component interface via bonobo_object_add_interface,
6357 if the contained AtkObject implements AtkComponent.
6358 * libspi/accessible.h : now include "component.h"
6359 * libspi/component.h :
6360 * libspi/component.c : added files - implementation of
6361 bonobo wrapper object for Accessibility/Component
6362 * libspi/listener.c :
6363 Added test code to check for Accessibility/Component:1.0
6364 interface and report whether it is implemented by the
6366 * libspi/registry.c :
6367 Now we check for not only the hash of the whole event
6368 string before relaying the event, we also check the
6369 "minor" event string (without the detail string).
6370 This allows event listeners to be registered against
6371 all events of a certain major+minor type, or just
6372 against a specific major+minor+detail type.
6373 * libspi/accessible.c :
6374 Added implementations for Accessible:get_parent(),
6375 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6376 * libspi/registry.c :
6377 * libspi/listener.c :
6378 Replaced calls to Accessibility_Accessible_ref() and
6379 Accessibility_Accessible_unref() with
6380 calls to bonobo_object_dup_ref() and
6381 bonobo_object_release_unref(), so that the CORBA object
6382 is dup-ed and released when relayed, as well as the bonobo object.
6384 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6386 * libspi/Makefile.am,
6387 registryd/Makefile.am,
6388 at-bridge/Makefile.am.
6389 test/Makefile.am, configure.in:
6390 reverse previous changes.
6392 * /idl/Image.idl: fix typo.
6394 * test/Makefile.am: put DEBUG_FLAGS
6397 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6399 * test/app.c: use argv[0] instead of
6402 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6404 * libspi/Makefile.am,
6405 registryd/Makefile.am,
6406 at-bridge/Makefile.am.
6407 test/Makefile.am, configure.in:
6408 cleanup, replace individual LIBS/CFLAGS with
6409 AT_COMMON_{LIBS|CFLAGS}.
6413 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6415 * configure.in, libspi/Makefile.am:
6416 Change IDL path checking for bonobo-activation
6419 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6421 * registryd/registry.c : separated event listeners to use
6422 3 separate lists (focus, window, toolkit). Began testing
6423 event names against hashes before relaying events.
6424 * test/at.c : now register for events of type "focus:"
6425 * test/app.c : now generate events of type "focus:"
6426 * at-bridge/bridge.c : register with ATK for focus events,
6427 and we now relay those focus events to any "focus:" listeners.
6428 This now works with the bridge as a GTK_MODULE when running test/at.
6429 * libspi/registry.c :
6430 * libspi/listener.c :
6431 now we ref event sources before propagating, and unref on receipt.
6432 * libspi/registry.c :
6433 some changes to internal structs, to support event typestring hashes.
6434 * text/app.c : changed the way the appname is generated.
6435 * cspi : added directory that will hold the C bindings library for
6436 non-CORBA/bonobo-savvy clients.
6437 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6438 * idl/Component.idl : added in parameter to indicate coord system for
6439 geometry-related calls.
6440 * idl/Hyperlink.idl : added readonly n_links attribute
6441 * idl/Image.idl : changed methods to attributes.
6443 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6445 * at-bridge/Makefile.am: link against
6446 ../libspi/libspi.la instead of -lspi.
6448 * at-spi/test/app.c: include
6449 bonobo-activation.h. Use a default appname
6450 if one is not provided.
6452 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6454 * idl/Registry.idl : temporarily changed register_Application
6455 to oneway, to work around issue with initial registration
6457 * idl/Application.idl : changed attribute "id" from readonly
6458 to read-write, since it needs to be assigned by Registry.
6459 * registryd/registryd.c : added call to set application id
6461 * registryd/registry.c : changed de-registration procedure to
6462 use CORBA_Object_hash() to find matching object ref in application
6463 lists and listener lists.
6464 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6465 began distinguishing between event types (work in progress).
6467 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6470 * libspi/application.c:
6471 Added implementations for get/set id, get_toolkitName,
6473 * registryd/registryd.c :
6477 Converted from use of OAF to bonobo-activation.
6478 * libspi/desktop.h :
6479 * libspi/desktop.c :
6481 Removed references to atksimpleobject, since base atkobject
6482 implementation now provides functionality we need.
6483 * libspi/atksimpleobject.c :
6484 * libspi/atksimpleobject.h :
6489 * at-bridge/Makefile.am
6490 * at-bridge/bridge.c
6493 Added directory "bridge" and contents, and added dependencies
6494 in Makefile.am/configure.in.
6495 Initial checkin of "at-bridge".
6496 This code is a GTK_MODULE which automatically registers
6497 GTK+ apps with the accessibility registry, using an object
6498 reference to the root ATK object.
6500 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6502 * po/Makefile.in.in: Remove. Again. If this
6503 doesn't get autogenerated - you need to update
6506 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6508 * po/Makefile.in.in: Add. Again.
6510 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6512 * libspi/accessible.c : added support for 'description' property.
6513 * libspi/accessible.c
6515 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6516 (since the two are now equivalent in libbonobo)
6524 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6525 Bonobo::Unknown as does Accessibility::Accessible.
6526 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6527 interface with Bonobo::Stream, since it was redundant with it.
6528 (The Stream returned by a StreamableContext object is expected to
6529 implement only a subset of Bonobo::Stream)
6531 2001-07-28 Anders Carlsson <andersca@gnome.org>
6533 * libspi/accessible.c (accessible_object_finalize): Change
6534 g_free to g_object_unref since the AtkObject is a GObject.
6536 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6538 * idl/Accessibility.idl: add new IDL files
6541 * idl/Action.idl: Definitions of actionable UI object
6542 * idl/Component.idl: Definitions of UI component geometry, etc.
6543 * idl/Hyperlink.idl: Defs of hyperlink behavior
6544 * idl/Image.idl: Def of accessible image
6545 * idl/Selection.idl: Definition of UI object with selectable children
6546 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6547 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6548 * idl/Text.idl: Interface defs for UI elements with complex textual content
6549 * idl/Value.idl: Definition of UI element that is a value controller or display
6551 2001-07-27 Michael Meeks <michael@ximian.com>
6553 * po/Makefile.in.in: remove autogenerated file from CVS.
6555 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6558 * idl/Registry.idl: include guard.
6560 * idl/Accessibility.idl: Add, and include all the other IDL
6563 * idl/*.idl: remove mass of pragmas etc.
6565 2001-07-26 Michael Meeks <michael@ximian.com>
6567 * registryd/Makefile.am (registryd_SOURCES): remove
6570 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6572 * libspi/.cvsignore, registryd/.cvsignore,
6573 test/.cvsignore: updated.
6575 * po/Makefile.in.in: gettext update.
6577 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6579 * initial CVS checkin
6581 2001-06-29 Michael Meeks <michael@ximian.com>
6583 * configure.in: add AM_CONFIG_HEADER to gen config.h