1 2003-12-15 Padraig O'Briain <padraig.obriain@sun.com>
3 * registryd/deviceeventcontroller.c (global_filter_fn):
4 When an event is consumed discard any XEvents were added to
5 the queue while dealing with the the event. This can happen if
6 processing of the event takes a long time. Call XUngrabKeyboard
7 if an event was discarded. This fixes bug $124837.
8 Only call wait_for_release_event for a KeyPress.
9 Use local variable display instead of spi_get_display().
10 (spi_controller_update_key_grabs): Move call to keycode_for_keysym
13 2003-12-11 Padraig O'Briain <padraig.obriain@sun.com>
15 * registryd/deviceeventcontroller.c (spi_dec_translate_mask):
16 Allow for mask to contain values other than NumLock mask.
19 2003-12-10 Padraig O'Briain <padraig.obriain@sun.com>
21 * registryd/devieceventcontroller.c:
22 (wait_for_release_event): Change first parameter from GdkEvent to
24 (global_filter_fn); Correct call to wait_for_release_event.
28 2003-12-08 Bill Haneman <billh@gnome.org>
32 * registryd/ucs2keysym.c: New file.
34 * registryd/deviceeventcontroller.c:
35 (dec_keysym_for_unichar): Remove old partial implementation and
36 replace with call to ucs2keysym(), which is much more complete.
37 Thanks to Marcus G. Kuhn who put the original keysym2ucs.c into
42 2003-12-05 Bill Haneman <billh@gnome.org>
44 * configure.in: Version 1.3.9.
46 * docs/reference/cspi/tmpl/spi_registry.sgml:
47 Added reference to libspi/keymasks.h to the
48 description of Registry queries: AccessibleKeyMaskType.
51 2003-12-04 Bill Haneman <billh@gnome.org>
55 * idl/Accessibility_Application.idl:
56 (Accessibility::LOCALE_TYPE): New enum, corresponds to
58 (Accessibility::Application::getLocale): New method.
59 Allows clients to query the locale, by type, of an app.
62 * cspi/spi_application.c:
63 (AccessibleApplication_getLocale): New method, wraps IDL above.
65 * libspi/application.c:
66 (spi_application_class_init): Init epv entry for getLocale.
67 (impl_accessibility_application_get_locale): Impl for above.
70 (test_application): Added assertion for getLocale, i.e.
71 that the string from AccessibleApplication_getLocale (app, type)
72 is the same as that from setlocale (type, NULL);
74 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
76 *registryd/deviceeventcontroller.c: Add an idle handler which polls
77 the keyboard on a timeout intil the key state goes from pressed to
78 released. Fixes bug #111429.
80 2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
82 * atk-bridge/bridge.c: (atk_bridge_init): Create accessible application
83 root object so that it is present when a context menu in an
84 out-of-process applet is popped up.
85 (spi_atk_bridge_do_registration): Create acceessible application root
86 object only if it does not exist.
88 This fixes bug #125834.
90 2003-12-01 Bill Haneman <billh@gnome.org>
92 Fix for bug #114926. Thanks to Michael Meeks for some of this patch.
95 Added enum for AccessibleStreamableContentSeekType.
96 (AccessibleStreamableContent_freeContentTypeList): New.
98 * cspi/spi_streamablecontent.c:
99 (accessible_bonobo_stream_client_seek): New private method.
100 (AccessibleStreamableContent_seek): Implemented this method,
101 using Bonobo_Stream_seek.
102 (AccessibleStreamableContent_freeContentTypeList): New method
103 for freeing the return value from
104 AccessibleStreamableContent_getContentTypes.
105 (stream_cache_item_free): Replaces stream_release; stop leaks.
106 (stream_release): removed.
107 (AccessibleStreamableContent_read): Use properly init'd CORBA_evs,
108 free the memory properly.
110 2003-12-02 Padraig O'Briain <padraig.obriain@sun.com>
114 * cspi/spi-roletypes.h: Add SPI_ROLE_EDITBAR.
116 * cspi/spi_accessible.c (cspi_init_role_table): Add SPI_ROLE_EDITBAR.
118 * docs/reference/cspi/tmpl/spi-accessible.sgml: Add SPI_ROLE_EDITBAR
120 * idl/Accessibility_Role.idl: Add ROLE_EDITBAR.
122 2003-12-01 Bill Haneman <billh@gnome.org>
124 Fix for bug/rfe #127463.
126 * idl/Accessibility_Accessible.idl:
127 (getLocalizedRoleName): New.
128 (unimplemented4): Removed (replaced by above).
130 * libspi/accessible.c:
131 (impl_accessibility_accessible_get_local_role_name): New.
132 (spi_accessible_class_init): Add getLocalizedRoleName entry to
136 (Accessible_getLocalizedRoleName): New.
138 * cspi/spi_accessible.c:
139 (Accessible_getLocalizedRoleName): New.
141 2003-12-01 Bill Haneman <billh@gnome.org>
144 * idl/Accessibility_Text.idl:
145 (getDefaultAttributes): New.
146 (unimplemented4): Removed (replaced by above method).
149 (impl_getDefaultAttributes): New method.
150 (spi_text_class_init):
151 initialize the get_default_attributes slot in the epv.
154 (AccessibleText_getDefaultAttributes): New prototype.
157 (AccessibleText_getDefaultAttributes): New method.
159 2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
161 * cspi/spi_accessible.c (cspi_init_relation_type_table): Do not
162 write beyond the end of the table. Fixes bug #120473.
164 2003-09-30 Christian Rose <menthos@menthos.com>
166 * configure.in: Added "eu" to ALL_LINGUAS.
168 2003-09-28 Kjartan Maraas <kmaraas@gnome.org>
170 * configure.in: ALL_LINGUAS: Added no.
172 2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
174 * configure.in: Added lt to ALL_LINGUAS.
176 2003-09-25 Padraig O'Briain <padraig.obriain@sun.com>
178 * atk-bridge/bridge.c:
179 (atk_bridge_init): Register event listeners always even for
180 out-of-process applet.
181 (spi_atk_bridge_toplevel_added): Remove call to
182 spi_atk_bridge_event_type_consts as it is now called in atk_bridge_init
183 (spi_atk_bridge_toplevelk_removed): Remove call to
184 spi_atk_deregister_event_listenersa as the listeners are now always
186 (spi_atk_bridge_register_application): Remove call to
187 spi_atk_register_event_listeners as it is not done in atk_bridge_init
189 This fixes bug #120991.
191 * libspi/table.c (impl_getColumnDescription): Correct typo,
192 pointed out by Bolian.Yin@sun.com.
194 2003-09-21 Ã
\85smund Skjæveland <aasmunds@fys.uio.no>
196 * configure.in: Added nn to ALL_LINGUAS (which is commented out).
198 2003-09-08 Bill Haneman <billh@gnome.org>
200 * configure.in: Revved to 1.3.7.
202 This is the GNOME 2.4.0 release of at-spi.
204 * docs/reference/cspi/Makefile.am:
205 Removed spurious inclusion of 'index.sgml' in the
206 html directory; this was breaking make distcheck and
207 also some other build environments.
209 2003-09-05 Padraig O'Briain <padraig.obriain@sun.com>
211 * registryd/registry.[ch}:
212 Add queue_handler_id and focus_object to SpiRegistry data structure.
213 (registry_flush_event_queue): If event being discarded is
214 "state-change:focused" store object as focus_object.
215 (registry_start_queue): Remove queue handler and focus object
217 (registry_discard_event): New function which discards a focus event
218 if we had stored focus object in the registry.
219 (registry_queue_event): Add new check that is_queueing is set as this
220 function is reentrant.
221 (registry_filer_event): Add call to registry_discard_event.
223 This resolves issues raised in bug #108664.
225 2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
227 * configure.in: Added "bn" to ALL_LINGUAS.
229 2003-09-04 Bill Haneman <billh@gnome.org>
231 * cspi/spi_event.c: Documentation improvements for
232 (SPI_registerAccessibleKeylistener).
234 * docs/reference/tmpl/spi_registry.sgml:
235 Documentation improvements for SpiAccessibleKeylistenerCB.
237 2003-09-02 Mugurel Tudor <mugurelu@go.ro>
239 * configure.in: Added "ro" to ALL_LINGUAS.
242 2003-09-01 Padraig O'Briain <padraig.obriain@sun.com>
244 * cspi/spi_main.c (cspi_object_return): Ensure that reference count is
245 not decremented to zero. Fixes bug #120725.
247 2003-08-30 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>
249 * configure.in: Added "ja" to ALL_LINGUAS.
251 2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
253 * configure.in: Added "is" to ALL_LINGUAS.
255 2003-08-22 Christian Rose <menthos@menthos.com>
257 * configure.in: Added "nl" to ALL_LINGUAS.
259 2003-08-19 Padraig O'Briain <padraig.obriain@sun.com>
261 * cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
262 * cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
264 * cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
266 * cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
267 type for unspecified exception.
268 * cspi_streamablecontect): Add include of string.h for memcpy.
269 (stream_release): Correct call to bonobo_object_release_unref
270 (stream_cache_item_free): Correct call to bonobo_object_release_unref
271 * cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
272 argument of _cspi_expection_throw.
273 * libspi/hyperlink.c: Add include of libspi/action.h:
274 (spi_hyperlink_new): Cast argument to spi_action_interface_new.
275 * libspi/streamablecontent.c: add include of libspi/component.h.
276 * regisrtyd/deviceeventcontroller.c:
277 (spi_dec_translate_mask): Removed unused variable priv.
278 (dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
279 * registryd/registry.c:
280 (registry_filter_event): Remove unused variable queue_is-empty.
281 (impl_registry_notify_event): Use correct modifier in fprintf call.
283 This fixes compiler warnings reported in bug #120220.
285 2003-08-18 Padraig O'Briain <padraig.obriain@sun.com>
287 * registryd/registryd.c: Remove this file.
289 2003-08-17 Sanlig Badral <badral@openmn.org>
291 * configure.in: Added mn to ALL_LINGUAS.
293 2003-08-16 Tõivo Leedjärv <toivo@linux.ee>
295 * configure.in: Added et to ALL_LINGUAS.
297 2003-08-13 Padraig O'Briain <padraig.obriain@sun.com>
299 * test/event-listener-test.c: Change active-descendant to
300 active-descendant-changed.
302 2003-08-10 Sami Pesonen <sampeson@iki.fi>
304 * configure.in: Added "fi" in ALL_LINGUAS.
306 2003-08-08 Guntupalli Karunakar <karunakar@freedomink.org>
308 * configure.in: Added "hi" in ALL_LINGUAS.
310 2003-08-08 Padraig O'Briain <padraig.obriain@sun.com>
312 * configure.in: Revved to 1.3.6.
316 2003-08-07 Padraig O'Briain <padraig.obriain@sun.com>
318 * registryd/deviceeventcontroller.c
319 (spi_device_event_controller_object_finalize): Fix typo in previous
322 2003-08-07 Marc Mulcahy <marc.mulcahy@sun.com>
324 * registryd/deviceeventcontroller.c
325 (spi_device_event_controller_object_finalize): Fix build on
326 systems without XEvIE.
328 2003-08-06 Brian Cameron <Brian.Cameron@sun.com>
330 * acconfig.h, configure.in, registryd/Makefile.am,
331 registryd/devicecontoller.[ch]: Add XEViE support.
333 2003-08-06 Wang Jian <lark@linux.net.cn>
335 * configure.in: Added "zh_CN" to ALL_LINGUAS.
337 2003-08-06 Metin Amiroff<metin@karegen.com>
339 * configure.in: Added "az" (Azerbaijani) to ALL_LINGUAS
341 2003-08-06 Padraig O'Briain <padraig.obriain@sun.com>
343 * idl/Accessibility_Registry.idl: Put MODIFIER_SHIFTLOCk and
344 MODIFIER_ALT in correct place.
346 This fixes part of bug #118114.
348 2003-07-30 Alessio Frusciante <algol@firenze.linux.it>
350 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
352 2003-07-28 Changwoo Ryu <cwryu@debian.org>
354 * configure.in: Added "ko" to ALL_LINGUAS.
356 2003-07-28 Ole Laursen <olau@hardworking.dk>
358 * configure.in: Added "da" to the commented out ALL_LINGUAS.
360 2003-07-27 Laurent Dhima <laurenti@alblinux.net>
362 * configure.in: Added "sq" to ALL_LINGUAS.
364 2003-07-27 Hasbullah Bin Pit <sebol@ikhlas.com>
366 * configure.in: Added 'ms' (Malay) in ALL_LINGUAS.
368 2003-07-24 Pablo Saratxaga <pablo@mandrakesoft.com>
370 * configure.in: updated ALL_LINGUAS list
372 2003-07-24 Dmitry G. Mastrukov <dmitry@taurussoft.org>
374 * configure.in: Added Belarusian to ALL_LINGUAS.
376 2003-07-23 Padraig O'Briain <padraig.obriain@sun.com>
378 * cspi/spi_event.c (AccessibleEvent_unref): Call CORBA_free for
380 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event): Call
381 CORBA_any__alloc to allocate CORBA_Any in InternalEvent.
383 This fixes bug #116949.
385 2003-07-22 Padraig O'Briain <padraig.obriain@sun.com>
387 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
388 Correct CSPI to SPI in function documentation.
390 This fixes bug #118054.
392 2003-07-16 Dmitry G. Mastrukov <dmitry@taurussoft.org>
394 * configure.in: Added Russian to ALL_LINGUAS.
396 2003-07-16 Duarte Loreto <happyguy_pt@hotmail.com>
398 * configure.in: Added Portuguese (pt) to ALL_LINGUAS.
400 2003-07-14 Danilo Å Segan <dsegan@gmx.net>
402 * configure.in: Added "sr" and "sr@Latn" (Serbian) to ALL_LINGUAS.
404 2003-07-10 Joel Brich <joel.brich@laposte.net>
406 * configure.in: Added "eo" (Esperanto) to ALL_LINGUAS.
408 2003-07-07 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
410 * configure.in (ALL_LINGUAS): Added "es" (Spanish).
412 2003-07-07 Padraig O'Briain <padraig.obriain@sun.com>
414 * cspi/spi_event.c (AccessibleEvent_unref): Update code to free
415 resources allocated for AccessibleEvent. See cspi_event().
417 * cspi/spi_streamablecontent.c (cspi_streams_close_all): Set
418 static variable streams to NULL.
420 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
421 Update so that AcessibleEvent_ref will work.
423 This fixes bug #116624.
425 2003-07-06 Jordi Mallach <jordi@sindominio.net>
427 * configure.in (ALL_LINGUAS): Added "ca" (Catalan).
429 2003-07-06 Christophe Merlet <redfox@redfoxcenter.org>
431 * configure.in: Added "fr" (French) to ALL_LINGUAS.
433 2003-07-02 Christian Neumair <chris@gnome-de.org>
435 * configure.in: Added "de" (German) to ALL_LINGUAS.
437 2003-07-01 Dafydd Harries <daf@parnassus.ath.cx>
439 * configure.in: Added "cy" (Welsh) to ALL_LINGUAS.
441 2003-07-01 Miloslav Trmac <mitr@volny.cz>
443 * configure.in: Addded "cs" to ALL_LINGUAS. Why is it commented out?
445 2003-07-01 Artur Flinta <aflinta@cvs.gnome.org>
447 * configure.in: Added "pl" to ALL_LINGUAS.
449 2003-07-01 Gil "Dolfin" Osher <dolfin@rpg.org.il>
451 * configure.in: Added "he" (Hebrew) to ALL_LINGUAS.
453 2003-06-30 Bill Haneman <bill.haneman@sun.com>
456 (get_action_from_servant):
457 Removed assertion that action is implemented on an AtkObject.
459 * libspi/hyperlink.c:
461 Aggregate AccessibleAction interface on the hyperlink object if
462 the object implements AtkAction. (This convention is used in
465 2003-06-30 Bill Haneman <bill.haneman@sun.com>
467 * configure.in: Revved to 1.3.5.
469 * registryd/Accessibility_Registry.server.in.in:
470 Marked up appropriate strings for translation.
472 * atk-bridge/bridge.c: Marked a couple of
473 user-visible warnings for translation. Questionable
474 whether they are really useful, but possibly so.
477 2003-06-28 Christian Rose <menthos@menthos.com>
479 * configure.in: Added "sv" to ALL_LINGUAS.
481 2003-06-26 Bill Haneman <bill.haneman@sun.com>
483 * registryd/registry.c:
484 (spi_registry_object_finalize): Unref the deviceeventcontroller.
485 (registry_defer_on_event): Defer focus: events, this is an
486 improvement to the patch for bug #108664.
488 * TODO: Update with 2.4/"Dev Complete" items.
490 2003-06-26 Padraig O'Briain <padraig.obriain@sun.com>
492 * atk-bridge/bridge.c:
493 (spi_atk_bridge_init_event_type_consts): Ensure that this function only
494 looks up signals once.
495 (atk_bridge_init): Call spi_atk_bridge_init_event_type_consts only
496 if doing registration.
497 (spi_atk_bridge_toplevel_added): Call spi_bridge_init_event_type_consts
498 when doing registration.
500 This fixes bug #115014.
502 2003-06-25 Padraig O'Briain <padraig.obriain@sun.com>
504 * atk-bridge/bridge.c:
505 (atk_bridge_init): Add signal handler for children-changed:remove on
506 root when in a BonoboComponent.
507 (spi_atk_bridge_toplevel_added): Call spi_atk_bridge_do_registration
508 for first toplevel only other incrememt variable toplevels.
509 (spi_atk_bridge_toplevel_removed): For last toplevel deregister
510 application and remove listeners.
511 (spi_atk_bridge_get-registry): Change NULL to CORBA_OBJECT_NIL for
513 (spi_atk_deregister_event_listeners): New function which removes
515 (reinit_register_vars): New fuction which reinitializes variables.
517 This fixes bug #111578.
519 2003-06-13 Bill Haneman <bill.haneman@sun.com>
521 * configure.in: version 1.3.4.
523 * cspi/spi_accessible.c:
524 Changed test of obj==NULL to obj==CORBA_OBJECT_NIL.
527 2003-06-13 Michael Meeks <michael@ximian.com>
529 * cspi/bonobo/cspi-bonobo.c (cspi_check_ev): use it.
531 * cspi/spi_main.c (cspi_peek_ev): impl.
533 2003-06-11 Padraig O'Briain <padraig.obriain@sun.com>
535 * cspi/spi-roletypes.h: Add role SPI_ROLE_AUTOCOMPLETE
537 * cspi/spi_accessible.c (cspi_init_role_table): Add ROLE_AUTOCOMPLETE.
539 * docs/reference/cspi/tmpl/spi_accessible.sgml: Add role
540 SPI_ROLE_AUTOCOMPLETE
542 * idl/Accessibility_Role.idl: Add role ROLE_AUTOCOMPLETE
544 * libspi_accessible.c(spi_init_role_lookup_table): Add lookup
545 for ROLE_APPLICATION and ROLE_AUTOCOMPLETE
547 2003-06-11 Bill Haneman <bill.haneman@sun.com>
549 * libspi/streamablecontent.h:
550 * libspi/streamablecontent.c:
551 New files, provide implementation/wrappers for
552 Accessibility_StreamableContent.
554 * cspi/spi_streamablecontent.c:
555 Connected the C wrappers to the libspi C bindings.
556 (AccessibleStreamableContent_close): New method.
559 (AccessibleStreamableContent_close): New method, needed
560 since we have an "open, [seek], read, close" model in cspi.
562 2003-06-11 Bill Haneman <bill.haneman@sun.com>
564 Fix for #108664; Padraig's revision of my original patch.
566 * registryd/registry.h:
567 Added event queue list, is_queuing, and exit_notify_timeout
568 to the registry struct.
570 * registryd/registry.c:
571 (registry_init): Initialize new struct from registry.h.
572 (impl_registry_notify_event):
573 Filter events before notifying, in case some need to be
575 (registry_filter_event): New,
576 we defer certain incoming events (for instance
577 window:deactivate) because we may wish to hide
578 or reject them based on pending events. This is
579 mostly a workaround for bug #108664.
580 (registry_queue_event, registry_start_queue): New.
581 (registry_defer_on_event): Test event to see if it
583 (registry_reset_on_event): Returns TRUE if the
584 event should cause a queue reset.
585 (registry_discard_on_event): Returns TRUE if the event
586 should cause the previous queue contents to be discarded.
587 (registry_timeout_flush_queue): Flushes the pending event
588 queue if no reset/discard-triggering events have come in
589 within the timeout period.
590 (registry_emit_event): New.
591 (registry_clone_notify_context): New, used when queueing the
592 event notify contexts.
594 2003-06-10 Bill Haneman <bill.haneman@sun.com>
596 * configure.in: Version revved to 1.3.2, lt 0.9.2
597 Incremented ATK required version to 1.3.4.
599 * cspi/spi_registry.c:
600 (SPI_generateKeyEvent):
601 We now pass the keystring along if it's non-null.
603 * registryd/deviceeventcontroller.c:
604 (keysym_mod_mask): New method, returns modifier mask
605 required to generate a keysym from a given keycode.
606 (dec_synth_keysym): New method.
607 (dec_synth_keystring): New method.
608 (dec_get_modifier_state): New method.
609 (dec_lock_modifiers): New
610 (dec_unlock_modifiers): New.
611 (dec_keysym_for_unichar): New, rather brute-force
612 conversion from UCS-4 to X KeySyms. Only works for
613 Latin at the moment, with partial implementations for
614 Greek, Hebrew, and (incomplete) Katakana.
615 (impl_generate_keyboard_event): Now implement
616 "KEYSTRING" synthesis and implement "KEYSYM"
618 (keycode_from_keysym): Improved, passes a returned
619 modmask value now if the corresponding param is non-NULL.
621 Fixes bugs #92143 and #109776.
624 * test/keysynth-test.c:
625 New test program for key synthesis, to confirm fixes for
629 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
631 * cspi/spi.h: Add relation SPI_RELATION_POPUP_FOR
633 * cspi/spi_accessible.c (cspi_init_relation_type_table):
634 Add line for RELATION_POPUP_FOR
636 * docs/reference/cspi/tmpl/spi_relation.sgml:
637 Add relation SPI_RELATION_POPUP_FOR
639 * docs/reference/cspi/tmpl/spi_stateset.sgml:
640 Change state SPI_STATE_INCONSISTENT to SPI_STATE_INDETERMINATE
642 * idl/Accessibility_Reloation.idl: Add RELATION_POPUP_FOR.
644 * libspi/relation.c (spi_init_relation_type_table):
645 Add line for RELATION_POPUP_FOR
647 2003-06-10 Padraig O'Briain <padraig.obriain@sun.com>
649 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
650 there are still windows which have not been deleted and emit
651 window:deactivate, if necessary and window:destroy events.
652 This fixes bug #114370. The change on June 5th was not correct.
654 2003-06-09 Bill Haneman <bill.haneman@sun.com>
656 * configure.in: Revved to 1.3.3. (lt-version 9:2:9, .so.0.9.2)
659 (SPI_dupString): Allow dup-ing of a string such that it's safe to
661 New methods for client exception handling and interception.
662 (SPI_exceptionHandlerPush): New - push a handler onto the stack.
663 (SPI_exceptionHandlerPop): You guessed it...
664 (SPI_getSourceType): Return the type of object which offended.
665 (SPI_getExceptionCode): Return an enum code telling, possibly,
666 what sort of thing went wrong, i.e. DISCONNECT (object died), etc.
667 (SPIAccessibleException_getSource): get the source object for
668 exceptions that come from Accessibles, if SPIExceptionSourceType is
669 SPI_EXCEPTION_SOURCE_ACCESSIBLE.
670 (SPIException_getDescription): New, returns a string description of
671 the problem. [Not yet a stable ABI, strings are not frozen]
673 * cspi/spi-private.h:
674 Added implementation details of opaque SPIException
678 Implementations of above. Also
679 (_cspi_exception_throw): new private method that
680 dispatches exceptions to handlers, called from cspi-bonobo.c
682 * cspi/bonobo/cspi-bonobo.c:
683 (cspi_check_ev): call _cspi_exception_throw.
684 Don't print a warning message if the exception has been
685 handled by _cspi_exception_throw.
687 2003-06-05 Padraig O'Briain <padraig.obriain@sun.com>
689 * cspi/atk-bridge/bridge.c (spi_atk_bridge_exit_func): Check if
690 there are still windows which have not been deleted and emit
691 window:deactivate, if necessary and window:destroy events.
692 This fixes bug #114370.
694 2003-06-03 Bill Haneman <bill.haneman@sun.com>
697 (cspi_accessible_is_a): Make non-fatal
698 if the object reference is dead.
700 Mon Jun 2 15:35:29 2003 Jonathan Blandford <jrb@redhat.com>
702 * cspi/spi_main.c: #include <stdio.h>
703 * test/simple-at.c: ditto
704 * test/event-listener-test.c: ditto
705 * test/screen-review-test.c: ditto
707 2003-05-30 Michael Meeks <michael@ximian.com>
709 * test/test-simple.c (main): use CORBA_ORB_perform_work
710 instead of an unnecessary linc_ call.
712 2003-05-20 Padraig O'Briain <padraig.obriain@sun.com>
714 * cspi/spi-statetypes.h, cspi/docs/tmpl/spi_stateset.sgml:
715 Add SPI_STATE_INDETERMINATE.
717 * cspi/spi_accessible.c (spi_state_to_corba): Add support for
720 * idl/Accessibility_State.idl: Add support for STATE_INDETERMINATE.
722 * libspi/stateset.c (init_state_type_tables): Add support for
725 2003-05-19 Padraig O'Briain <padraig.obriain@sun.com>
727 * configure: Update versions of atk and gail required.
728 This fixes bug #113268.
730 2003-05-02 Bill Haneman <bill.haneman@sun.com>
732 * configure.in: Revved micro version to 1.3.1 (because of build fix).
734 2003-05-02 Frederic Crozat <fcrozat@mandrakesoft.com>
736 * libspi/Makefile.am:
737 Ensure headers are generated before being used by c sources.
739 2003-05-01 Bill Haneman <bill.haneman@sun.com>
742 Simplified lt versioning rules.
743 Incremented version to 1.3.0, to indicate that we're on the
746 2003-04-29 Padraig O'Briain <padraig.obriain@sun.com>
748 * docs/reference/cspi/Makefile.am, docs/reference/idl/Makefile.am:
749 Add MKDB_OPTIONS=--outtput-format=xml
751 * docs/reference/cspi/at-spi-cspi-docs.sgml
752 docs/reference/idl/at-spi-idl-docs.sgml:
753 Convert to Docbook XML.
755 This fixes bug #111793.
757 2003-04-25 Padraig O'Briain <padraig.obriain@sun.com>
759 * cspi/spi-listener.h: Add documentation for AccessibleDeviceEventType,
760 AcccessibleKeyEventType, AccessibleKeyMaskType.
762 * cspi/spi-roletypes.h: Update documentation for AccessibleRole.
764 * cspi/state-types.h: Add documentation for AccessibleState.
766 * cspi/spi.h: Add documentation for AccessibleTextBoundaryType,
767 AccessibleTextClipType, AccessibleRelationType, AccessibleCoordType,
768 AccessibleKeySynthType, AccessibleKeyListenerSyncType,
769 AccessibleComponentLayer.
771 * cspi/spi_event.c, cspi/spi_registry.c, cspi/spi_text.c: Fix bugs
774 * docs/reference/cspi/at-spi-cspi-sections.txt: Add undefined symbols.
776 * docs/reference/cspi/tmpl/spi_registry.sgml: Add description of
777 Accessible. Add description of AccessibleEvent,
778 AccessibleEventListenerCB.
780 * docs/reference/cspi/tmpl/spi_event.sgml: Update with extra
783 * docs/reference/cspi/tmpl/spi_registry.sgml: Update with extra
784 documentation. Add description of AccessibleKeystrokeListenerCB,
785 AccessibleKeyEventMask, AccessibleModifierMaskType,
786 AccessibleKeyMaskType, AccessibleKeystroke, AccessibleDeviceEvent,
787 AccessibleDeviceEventMask, AccessibleDeviceListenerCB.
789 * docs/reference/cspi/tmpl/spi_stateset.sgml: Add description of
792 * docs/reference/cspi/tmpl/spi_text.sgml: Update with extra
795 This fixes bug #104730.
797 2003-04-24 Padraig O'Briain <padraig.obriain@sun.com>
799 * atk-bridge/bridge.c (spi_init_keystroke_from_atk_key_event):
800 Set is_text field of Accessibility_DeviceEvent data structure.
802 * cspi/bonobo/cspi-bonobo-listener.c (cspi_device_event): Set
803 is-text field of AccessibleDeviceEvent data structure.
805 This addresses part of bug #108666.
807 * registryd/devcieeventcontroller.c: Unset debug option.
809 2003-04-14 Padraig O'Briain <padraig.obriain@sun.com>
812 (cpi_initial_relation_type_table): New function which initializes
813 mapping between Accessibility_RelationType and AccessibleRelationType.
814 (cspi_relation_type_from_spi_relation_type): New function which
815 translates an Accessibility_RelationType into an AccessibleRelationType.
816 (AccessibleRelation_getRelationType): Use
817 cpi_relation_type_get_spi_relation_type to return correct value.
818 (spi_state_to_corba): Return correct type for default case.
820 * cspi/spi_registry.c (SPI_registerAccessibleKeyStrokeListener):
821 Use Accessibility_EventType instead of Accessibility_KeyEventType.
823 * cspi/cspi-bonobo-listener.c:
824 Remove semicolon after BONOBO_TYPE_FUNC. Add casts to avoid compiler
827 * libspi/accessible.c, libspi/action.c, libspi/application.c,
828 libspi/base.c, libspi/component.c, libspi.devicelistener.c,
829 libspi/editabletable.c, libspi/hyperlink.c, libspi/hypertext.c,
830 libspi/image.c, libspi/listener.c, libspi/selection.c,
831 libspi/stateset.c, libspi/table, libspi/text.c, libspi/value.c,
832 registryd/desktop.c, registryd/registry.c:
833 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
835 * libspi/eventlistener.c
836 Remove semicolon after BONOBO_TYPE_FUNC.
839 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
840 (spi_init_relation_type_table): Initialize using correct type.
842 * registryd/desktop.c:
843 Remove semicolon after BONOBO_TYPE_FUNC_FULL.
844 (spi_keystroke_from_x_key_event): Use Accessibility_EventType instead
845 of Accessibility_KeyEventType.
847 * test/key-listener-test.c (report_tab_key_event): Use fprintf
850 * tests/simple-at.c, tests/screen-review-test.c:
851 Add include for <strings.h>.
853 * tests.stress-test.c:
854 Add includes for <unistd.h> and <bonobo/bonobo-main.h>
856 These changes fix compiler warnings when using FORTE compiler on
857 Solaris; fixes bug #107479.
860 2003-04-10 Bill Haneman <bill.haneman@sun.com>
863 * configure.in: revved to 1.1.10
866 (SPI_KEYMASK_NUMLOCK): Added.
868 * registryd/deviceeventcontroller.c:
869 (spi_key_event_matches_listener): AND with a smaller
870 bitmask (as we should).
871 (spi_dec_translate_mask):
872 New method, sets the virtual NumLock modifier bit
873 if numlock is on. Eventually it can handle other virtual
874 modifier bits if needed, or other marshalling from
875 at-spi modifier masks to platform (X) masks.
876 (spi_dec_key_listener_new):
877 Call spi_dec_translate_mask to set up virtual mod bits
878 in the 'mask' field when creating a new listener struct.
879 (spi_dec_emit_modifier_event):
880 Set the virtual (i.e. NumLock) bits before emitting event.
881 (spi_controller_register_with_devices):
882 Query for the NumLock modifier 'physical' bit if Xkb is
883 present, for use in above methods.
887 2003-04-10 Bill Haneman <bill.haneman@sun.com>
889 * registryd/deviceeventcontroller.c:
890 (spi_keystroke_from_x_key_event):
891 Instead of checking to see if the keysym is
892 printable, check the string from XLookupString
893 if available, get the first unicode character from it,
894 and call g_unichar_isprint to determine whether the
895 is_text flag should be TRUE or FALSE.
899 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
901 * atk-bridge/bridge.c: Add support for extended events
902 * cspi/spi_event.c: Add documentation and implementation for
904 * tests/event-listener-test.c: Add tests for extended events.
906 This fixes bugs #100424 and #100426.
908 2003-04-02 Padraig O'Briain <padraig.obriain@sun.com>
910 * configure.in: Add 100 to AT_SPI_BINARY_AGE and update calculation
911 of LT_CURRENT. This fixes bug #89350.
913 2003-04-01 Padraig O'Briain <padraig.obriain@sun.com>
915 * atk-bridge/bridge.c (spi_bridge_signal_listener): Add check for
916 number of signal parameter values before accessing them. This fixes
919 2003-04-01 Bill Haneman <bill.haneman@sun.com>
921 * configure.in: Fixed duplicate inclusion of -lspi.
922 * branched for gnome-2-2/HEAD.
923 [created tag "gnome-2-2"]
925 2003-03-07 Bill Haneman <bill.haneman@sun.com>
927 * configure.in: 1.1.9 release.
930 2003-03-07 Bill Haneman <bill.haneman@sun.com>
932 [needed by GOK, to fix bugs 107985 and 107988]
933 * registryd/deviceeventcontroller.c:
934 (spi_dec_clear_unlatch_pending):
935 New method, unsets the 'unlatch' mask for XkbStateNotifyEvents.
936 (spi_dec_set_unlatch_pending):Revised DEBUG comment.
937 (spi_dec_init_mouse_listener):Emit warning if mouse button
939 (spi_device_event_controller_forward_mouse_event):
940 Removed unnecessary parens from a conditional.
941 (global_filter_fn):Added TODO comment.
942 (impl_generate_keyboard_event):
943 Cancel a pending relatch if a 'delatching' key was
946 2003-03-07 Padraig O'Briain <padraig.obriain@sun.com>
948 * atk-bridge/bridge.c:
949 Change atk_signal_child_changed to atk_signal_children_changed.
950 Reorganize code in spi_atk_bridge_signal_listener().
952 * test/event-listener-test.c:
953 Add children_changed_listener and report_children_changed_event()
954 to test AccessibleChildEvent_getChildAccessible.
956 2003-03-05 Padraig O'Briain <padraig.obriain@sun.com>
958 * cspi/spi_event.c (cspi_internal_event_get_text): Change
959 g_strdup to CORBA_String_dup (bug #105291)
961 * test/event-listener-test.c (report_text_event): Add call to
964 2003-02-28 Bill Haneman <bill.haneman@sun.com>
966 * registryd/deviceeventcontroller.c:
967 (spi_keystroke_from_x_key_event):
968 Fix string and keysym return codes to match modifier state.
971 2003-02-28 Bill Haneman <bill.haneman@sun.com>
973 * registryd/deviceeventcontroller.c:
974 (spi_keystroke_from_x_key_event):
975 Fix segv due to improper use of isprint(c). [bug #107254]
977 2003-02-24 Bill Haneman <bill.haneman@sun.com>
980 (get_accessible_text_boundary_type):
981 Move default return value to (new) default case in switch.
982 (get_accessible_text_clip_type):
983 Move default return value to (new) default case in switch.
985 * libspi/application.c:
986 (lookup_toolkit_event_for_name, reverse_lookup_name_for_toolkit_event):
987 Remove unused methods.
988 (impl_accessibility_application_register_object_event_listener):
989 Remove unused methods.
992 Added #include of <math.h>.
994 * registryd/deviceeventcontroller.c:
995 (spi_dec_ungrab_mouse): Bracketed with #ifdefs, since
996 we don't currently use this method.
997 (spi_dec_init_mouse_listener): Don't call XkbGetMap unless
999 (impl_generate_key_event):
1000 Remove unused variables.
1001 (impl_generate_mouse_event):
1002 Initialize button to zero, just in case we get an invalid
1003 input. Added support for mouse buttons 4 and 5.
1004 (spi_device_event_controller_new):
1005 Removed unused variable declaration for 'private'.
1007 Added #include of <gdk/gdk.h>
1009 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1011 * configure.in: Update to work when X is not installed in expected
1012 location. Fixes bug #105836.
1014 * atk-bridge/bridge.c
1015 (spi_atk_bridge_init_event_type_consts): Look up "link-selected" for
1017 (spi_atk_register_event_listener): Add signal listener for
1019 (spi_atk_bridge_signal_listener): Event event when link-selected
1020 signal is emitted. (bug #104622)
1022 * cspi/spi_event.c (cspi_internal_event_get_text): Call g_strdup()
1023 on returned string. (bug #105291)
1025 * test/event-listener-test.c: Add test for link-selected.
1027 2003-02-14 Padraig O'Briain <padraig.obriain@sun.com>
1029 * atk-bridge/Makefile.am: Correct typo in previous commit.
1031 2003-02-13 Padraig O'Briain <padraig.obriain@sun.com>
1033 * atk-bridge/Makefile.am: Allow for build directory to be different
1034 from source directory
1036 * registryd/Makefile.am: Allow for build directory to be different
1037 from source directory
1041 2003-01-29 Bill Haneman <bill.haneman@sun.com>
1044 Fixed dependencies for libcspi so that libspi gets pulled in
1045 properly. Fixes 104741.
1049 Clean up inline docs a little.
1051 2003-01-27 Padraig O'Briain <padraig.obriain@sun.com>
1053 * registryd/desktop.c: Implement AccessibleComponent for SpiDesktop.
1054 This is done by implementing AtkComponent for SpiAtkDesktop, which is
1055 the AtkObject within an SpiDesktop.
1056 This addresses bug #101524.
1058 * registryd/deviceeventcontroller.c (spi_device_event_controller_init):
1059 Remove call to gdk_init().
1061 * registryd/registry.c (spi_registry_init): Add call to gdk_init()
1062 so that Display is set when SpiDesktop is created.
1064 2003-01-21 Padraig O'Briain <padraig.obriain@sun.com>
1066 * registryd/deviceeventcontroller.c: Add include of <sys/time.h>
1067 This fixes bug #102830.
1069 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1071 * test/test-simple.c: Update to take account of fact that GailButton
1072 now implements AtkText.
1073 (create_text_window): Set name on AtkObject for GtkEntry.
1074 (validate_accessible): Check accessible name before calling test_text().
1076 * libspi/Makefile.am: Fix problem with building outside of source
1077 directory. Bug #98120.
1079 * cpsi/spi_table.c (AccessibleTable_getNSelectedColumns): Fix
1080 typo in documentation comments. Bug #94275.
1082 2003-01-15 Padraig O'Briain <padraig.obriain@sun.com>
1084 * libspi/text.c (impl_getBoundedRanges): Bug fix.
1086 2003-01-10 Padraig O'Briain <padraig.obriain@sun.com>
1089 Add includes to avoid compiler warnings on Solaris.
1090 (impl_getRangeExtents): Bug fix.
1092 2002-12-17 Bill Haneman <bill.haneman@sun.com>
1094 Fix for 100944, [API addition approved by Gman and murrayc].
1101 * idl/Accessibility_Text.idl:
1102 (Text::Range, Text::RangeList, TEXT_CLIP_TYPE): New typedefs
1103 (Text::getRangeExtents): New method for efficient
1104 bounds query of a text range.
1105 (Text::getBoundedRanges): New method for efficient
1106 clipping of text to bounding boxes.
1107 (unImplemented7, unImplemented8):
1108 Removed these padding methods to preserve bincompat.
1111 (impl_getRangeExtents): implementation of new IDL.
1112 (impl_getBoundedRanges): implementation of new IDL.
1113 (SpiTextRect): Internal use struct.
1114 (_spi_text_rect_union): internal method, calculates union of two
1115 SpiTextRect bounding rects.
1116 (_spi_text_range_seq_from_gslist): internal method, allows us
1117 to build our sequence efficiently as a gslist then convert it
1119 (_spi_bounds_contain): internal method, determines whether
1120 a text character is "in" or "out" of a clip rect according to
1121 values of TEXT_CLIP_TYPE.
1122 (spi_text_class_init): Initialize the new methods in the epv.
1125 (AccessibleTextClipType): New enum used by screen review api.
1126 (AccessibleTextRange): New struct used by screen review api.
1127 (AccessibleText_getRangeExtents):
1128 cspi binding for Accessibility_Text_getRangeExtents.
1129 (AccessibleText_getBoundedRanges):
1130 cspi binding for Accessibility_Text_getBoundedRanges.
1131 (AccessibleTextRange_freeRanges): convenience method.
1134 (AccessibleText_getRangeExtents):
1135 cspi binding for Accessibility_Text_getRangeExtents.
1136 (AccessibleText_getBoundedRanges):
1137 cspi binding for Accessibility_Text_getBoundedRanges.
1138 (AccessibleTextRange_freeRanges): convenience method.
1139 (get_accessible_text_clip_type): internal conversion method.
1140 (get_accessible_text_ranges_from_range_seq): internal conversion method.
1142 * registryd/deviceeventcontroller.c:
1143 (spi_dec_mouse_check):
1144 Improved behavior for mouse:abs events
1145 [same granularity as mouse:rel events, and no
1146 events when mouse is idle].
1148 2002-12-16 Michael Meeks <michael@ximian.com>
1150 * cspi/spi_accessible.c (spi_state_to_corba): rename.
1152 * libspi/stateset.c (state_spi_to_atk): split out
1153 ( fix several remote array bounds nasties )
1154 (spi_atk_state_set_from_sequence, impl_contains, impl_add),
1155 (impl_remove): make safe from array bounds issues.
1156 (spi_atk_state_from_spi_state): impl.
1158 * libspi/stateset.h (spi_state_set_cache_is_empty):
1159 add a set of wrapper defines to get layering right.
1161 * cspi/spi_accessible.c: update state set stuff to
1164 2002-12-14 Michael Meeks <michael@ximian.com>
1166 * atk-bridge/bridge.c (spi_atk_bridget_get_dec): impl.
1167 to avoid 2 roundtrips to the registry per key event
1168 (spi_atk_bridge_key_listener): upd.
1169 (deregister_application): release the dec.
1171 * registryd/registry.c (notify_listeners_cb):
1172 bin lots of re-enterant complexity - we no longer
1173 do a round-trip bonobo ref here, ensure that a single
1174 listener's exception failure won't poison all other
1176 (impl_registry_notify_event): bin obvious memory leak.
1178 2002-12-13 Michael Meeks <michael@ximian.com>
1180 * atk-bridge/bridge.c (spi_atk_bridge_focus_tracker):
1181 init the ev so the error is meaningful.
1182 (spi_atk_bridge_key_listener): ditto.
1184 * cspi/spi_main.c (cspi_ev): init the ev so we start
1185 with a clean slate, otherwise the first exception
1186 kills us completely.
1188 * cspi/spi_text.c (get_accessible_text_boundary_type):
1189 add a fallthrough for no warnings.
1191 * cspi/spi_registry.c: prune unused warnings.
1193 * cspi/spi_main.c (cspi_object_take): fix
1194 mind-blowing brokenness ( by watching the compile
1197 * cspi/spi_accessible.c (Accessible_getStateSet):
1198 re-impl. to use an AtkStateSet.
1199 (spi_state_type_from_accessible_state),
1200 (init_state_table): bin these.
1202 * libspi/stateset.c (spi_atk_state_set_from_sequence):
1204 (atk_state_set_from_accessibility_state_set): here.
1206 * cspi/spi_accessible.c (spi_state_to_atk): impl.
1207 (AccessibleStateSet_contains, AccessibleStateSet_ref),
1208 (AccessibleStateSet_unref, AccessibleStateSet_contains),
1209 (AccessibleStateSet_add, AccessibleStateSet_remove),
1210 (AccessibleStateSet_equals, AccessibleStateSet_compare),
1211 (AccessibleStateSet_isEmpty): re-write to use a local
1214 2002-12-13 Bill Haneman <bill.haneman@sun.com>
1216 * configure.in: Revved to 1.1.7 (new keymask vals).
1218 2002-12-10 Bill Haneman <bill.haneman@sun.com>
1220 * libspi/keymasks.h:
1221 Added SPI_KEYMASK_MOD4 and SPI_KEYMASK_MOD5.
1223 2002-12-10 Padraig O'Briain <padraig.obriain@sun.com>
1226 (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
1227 to compare two CORBA_TypeCodes.
1228 (cspi_internal_event_add): Silence warning from FORTE compiler.
1230 * cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
1231 avoid implicit declaration of functions.
1233 2002-12-09 Padraig O'Briain <padraig.obriain@sun.com>
1235 * atk-bridge/bridge.c:
1236 (spi_atk_bridge_init_event_type_consts): Store signal id for
1237 active-descendant-changed signal.
1238 (spi_atk_register_event_listeners): Add signal listener for
1239 active-descendant-changed signal,
1240 (spi_atk_bridge_signal_listener): Move code in function
1241 spi_atk-signal_emit_event() into this function.
1242 Add support for active-descendant-changed
1243 Update support for child-changed signal.
1244 (spi_bridge_window_event_listener): Silence warning.
1246 * libspi/spi_private.[ch]:
1247 (spi_init_any_object): Change second parameter from CORBA_Object to
1249 Omit call to CORBA_Object_duplicate().
1250 Set CORBA_any's _value to CORBA_Object*.
1252 2002-12-06 Bill Haneman <bill.haneman@sun.com>
1258 (AccessibleEvent_ref, AccessibleEvent_unref):
1259 New methods, for persisting an event outside the emission context.
1260 Must be used if the new accessor methods are to be called
1261 outside of the event listener's callback.
1263 * cspi/bonobo/cspi-bonobo.c:
1264 (cspi_dup_ref): Pass 'ev' to bonobo_object_dup_ref
1265 as second parameter instead of NULL, so we can call
1266 cspi_check_ev afterwards.
1269 (cspi_object_take): New internal method,
1270 converts a CORBA_Object reference to a hard ref on
1271 an Accessible if possible, returning NULL if the object
1272 reference is invalid or an Accessible * otherwise.
1275 (AccessibleEvent_ref):
1276 Increment the event's internal private refcount, and
1277 add the event's internal struct to an internal cache
1278 if it's not already there.
1279 (AccessibleEvent_unref):
1280 Decrement the event's refcount and remove it from
1281 the cspi event cache if refcount==0.
1282 (cspi_event_compare): New private method.
1283 Compares two event structs via their ids. Used
1285 (cspi_internal_event_lookup): New private method.
1286 (cspi_internal_event_check): New private method,
1287 a 0-order sanity check for events to make sure their
1288 private data is intact.
1289 (cspi_internal_event_add, cspi_internal_event_remove):
1290 New private methods for managiing the event cache.
1292 * cspi/bonobo/cspi-bonobo-listener.c:
1294 Initialize the new private data elements (id, magic, ref_count).
1296 * atk-bridge/bridge.c:
1297 (spi_atk_bridge_signal_listener):
1298 Fixed bug #100530, passing wrong params to emission func.
1300 * registryd/deviceeventcontroller.c:
1301 (spi_dec_button_update_and_emit):
1302 Fixed type in mask bit operations; fix for #99799.
1304 2002-12-02 Bill Haneman <bill.haneman@sun.com>
1306 Removed some of the more dangerous workarounds from
1307 previous commit; they are only needed by GOK, which
1308 in reality should be using another method to accomplish
1309 the goals. So on reconsideration some of the workarounds
1310 need to be reverted:
1312 * registryd/deviceeventcontroller.c:
1313 (spi_keycodes_contain, spi_dec_init_keycode_list):
1314 Removed these methods, used only by a nasty hack to try
1315 and detect whether a key synthesis should be allowed
1316 to reset the XKB latch state or not. This code was only
1317 required to work around an interaction between GOK,
1318 button events, and XKB.
1319 (impl_generate_key_event):
1320 Removed hack at end of key generation that tried to
1321 "do the right thing" if XKB latch keys were generated
1322 in the midst of button press/release pairs.
1325 Added a check for HAVE_XINPUT. Not normally used yet.
1327 2002-11-25 Bill Haneman <bill.haneman@sun.com>
1329 Workarounds and fixes for mouse event/XKB interaction.
1331 * registryd/deviceeventcontroller.c:
1332 (spi_keycodes_contain, spi_dec_init_keycode_list):
1333 New internal methods.
1334 (spi_dec_set_unlatch_pending):
1335 Split the method that tells XKB to expect an
1336 unlatch (and revert it) out of the rest of the
1337 event handling code. This method is called by the
1338 two mouse event handlers (the poll and the filter).
1339 (spi_dec_update_and_emit, spi_dec_mouse_check):
1340 New methods split from spi_dec_poll_mouse_moved.
1341 The second one is now called from inside the filterFn
1342 when an XKB delatch event is received, to determine
1343 whether to revert the delatch or not.
1344 (spi_poll_mouse_moved): Refactor; also we can now
1345 properly handle the case where multiple button states
1346 have changed between polling cycles and we didn't get
1347 notified due to another client's grab.
1349 Synchronize the server while handling an XKB notification.
1350 Ugly, but apparently necessary to avoid nasty races.
1351 Check the mouse state on receipt of an XKB latch change,
1352 to decide whether to revert the latch or not. (Latches are
1353 reverted if there is an immediately preceding mouse button
1354 event that a client has consumed, in which case we don't want
1355 the user to see the side-effect of the event).
1356 (spi_device_event_controller_forward_mouse_event):
1357 Check for modifier events and fire before resetting mouse_mask_state,
1358 prevents losing modifier events.
1360 (impl_generate_keyboard_event):
1361 If we've just generated a keyboard event for a non-shift key,
1362 we don't want to revert the pending XKB latch.
1363 Otherwise, check the modifier state (via a call to
1364 spi_dev_mouse_check) and set the relatch mask to
1365 that state before returning.
1367 2002-11-24 Bill Haneman <bill.haneman@sun.com>
1370 Updated NEWS (accidentally didn't make it into 1.1.5 tarball,
1373 * atk-bridge/bridge.c:
1374 (spi_atk_register_event_listeners):
1375 Don't re-register for ATK events if the registry has died
1376 and the app needs to re-register; the ATK listeners are in
1377 process and doing so will cause duplicate emission.
1379 * registryd/deviceeventcontroller.c:
1380 (spi_poll_mouse_moved):
1381 Reformat the source, detect and emit multiple button-change
1382 events (i.e. if multiple buttons have changed between poll
1384 Add code to detect mouse-down events even when the pointer
1385 is grabbed; workaround for GOK bug 98420.
1386 (spi_controller_register_with_devices):
1387 Call XTestGrabControl with 'impervious' flag set to True,
1388 allows us to synthesize events and query the pointer even during
1389 an active grab by another client.
1390 (spi_device_event_controller_forward_mouse_event):
1391 Set the mouse_mask_state to the mouse_button_state from
1392 the intercepted event, to synchronize the grab listener with
1395 2002-11-20 Bill Haneman <bill.haneman@sun.com>
1397 * cspi/spi_accessible.c:
1398 (AccessibleRole_getName):
1399 Added necessary strings for making this (deprecated)
1400 method work with the new role types.
1401 (init_role_table, role_table):
1402 Added definition of SPI_ROLE_APPLICATION.
1404 * libspi/spi-roletypes.h:
1405 Added SPI_ROLE_APPLICATION.
1407 * idl/Accessibility_Role.idl:
1408 Added ROLE_APPLICATION.
1410 * docs/reference/cspi/at-spi-cspi-decl.txt:
1411 Added SPI_ROLE_APPLICATION to docs.
1413 2002-11-20 Padraig O'Briain <padraig.obriain@sun.com>
1415 * cspi/spi_accessible.c
1416 (cspi_init_role_table): Do not write beyond end of role_table.
1417 (Accessible_getRole): Use correct type for value returned by
1418 Accessibility_Accessible_getRole().
1420 * libspi/accessible.c (spi_init_role_lookup_table): Do not write
1421 beyond end of role_table. (This fixes bug #98269)
1423 * libspi/application.c: Add include file spi-private.h for
1424 definition of spi_init_any_nil.
1426 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1430 * libspi/spi-private.h:
1431 Added DGB() macro, and extern int _dbg declaration.
1433 * registryd/registry.c:
1434 (definitions) storage for _dbg.
1435 (spi_registry_init):
1436 Get environment variable "AT_SPI_DEBUG".
1437 (spi_registry_set_debug):
1438 New method, to initialize _dbg value.
1439 (spi_listener_struct_new, spi_registry_object_finalize):
1440 (notify_listeners_cb):
1441 Changed fprintfs to use DBG and g_warning().
1443 * registryd/deviceeventcontroller.c:
1444 (_deregister_keygrab, spi_controller_register_device_listener):
1445 Changed debug/warning messages to use DBG macro.
1447 * libspi/listener.c:
1448 (impl_notify_event):
1449 Changed warning messages to use DBG macro and g_warning().
1451 * atk-bridge/bridge.c:
1452 (atk_bridge_init, spi_atk_bridge_get_registry):
1453 (spi_atk_bridge_exit_func):
1454 (spi_atk_bridge_property_event_listener):
1455 Changed status, warning, and error messages to use
1456 g_warning, g_message, and DBG macros.
1459 Read the state of the AT_SPI_DEBUG environment variable
1460 and set a local '_dbg' accordingly.
1462 2002-11-19 Bill Haneman <bill.haneman@sun.com>
1464 FIXES for 98836, 98842, other bugs.
1467 Revved to 1.1.4, interface-age=4, binary-age=4.
1469 * registryd/deviceeventcontroller.c:
1471 Fixed crasher bug in last_mouse_pos initialization.
1473 * registryd/registry.c:
1474 (desktop_add_application, desktop_remove_application):
1475 Added (and then commented out) some support for
1476 object context marshalling. [TODO]
1478 * atk-bridge/bridge.c:
1479 (spi_atk_bridge_event_context_create):
1480 Commented out object context creation until it can
1481 be properly tested and debugged.
1483 * registryd/registry.c:
1484 (impl_registry_notify_event):
1485 Fixed crasher bug, we were calling
1486 spi_re_entrant_list_foreach () with an empty list.
1488 2002-11-18 Bill Haneman <bill.haneman@sun.com>
1490 * idl/Accessibility_Action.idl:
1491 * idl/Accessibility_Component.idl:
1492 * idl/Accessibility_Desktop.idl:
1493 * idl/Accessibility_Event.idl:
1494 * idl/Accessibility_Hyperlink.idl:
1495 * idl/Accessibility_Image.idl:
1496 * idl/Accessibility_Relation.idl:
1497 * idl/Accessibility_Selection.idl:
1498 * idl/Accessibility_State.idl:
1499 * idl/Accessibility_Value.idl:
1500 Updated unimplemented slot count to minimum of
1501 four for all interfaces, for ABI freeze.
1503 * idl/Accessibility_EditableText.idl:
1504 * idl/Accessibility_Text.idl:
1505 Updated unimplemented slot count to six
1508 * idl/Accessibility_Registry.idl:
1509 Updated unimplemented slot count to six
1510 (also for DeviceEventController),
1513 * idl/Accessibility_Table.idl:
1514 Updated unimplemented slot count to eight,
1517 * idl/Accessibility_Event.idl:
1518 Added CORBA_any "any_data" member to Event struct.
1520 * idl/Accessibility_Event.idl:
1521 Added CORBA_any "any_data" member to Event struct.
1523 * atk-bridge/bridge.c:
1525 atk_signal_text_changed, atk_signal_child_changed,
1526 signal ids queried from gtype system.
1527 (AtkBridgeEventContextType): New enum.
1528 (AtkBridgeEventContextData): New struct.
1529 (AtkBridgeEventContext): New struct.
1530 (atk_bridge_init_event_type_consts):
1531 New method, initializes type contants for comparison
1532 prior to emit_eventv.
1533 (atk_bridge_event_context_init): New method,
1534 initializes a CORBA_any from an AtkBridgeEventContext.
1535 (atk_bridge_focus_tracker): Call spi_init_any_nil to
1536 initialize the event.any_data struct.
1537 (spi_atk_bridge_event_context_create): New method,
1538 creates an AtkBridgeEventContext from signal/event info.
1539 (spi_atk_bridge_event_context_free): New method.
1540 (spi_atk_emit_eventv): Changed to take an
1541 AtkBridgeEventContext parameter. We now initialize
1542 the event.any_data member prior to notifying the
1543 Registry, via the AtkBridgeEventContext.
1544 (spi_atk_bridge_property_event_listener):
1545 (spi_atk_bridge_state_event_listener):
1546 Match emit_eventv signature.
1547 (spi_atk_bridge_object_event_listener):
1548 Match emit_eventv signature, and create an
1549 event context from the event details.
1550 Free the event context afterwards.
1551 (spi_atk_bridge_window_event_listener):
1552 Create an event context, pass it to the
1556 (AccessibleEvent_getContextString):
1557 (AccessibleEvent_getContextObject):
1558 New methods, allow query of AccessibleEvent objects
1559 for more context details (via the "any_data" member
1560 of the Event struct, above).
1563 Definitions for AccessibleEvent_getContextString
1564 and AccessibleEvent_getContextObject.
1566 * cspi/spi_listener.h:
1567 (InternalEvent): New struct.
1570 (AccessibleEvent_getContextString):
1571 (AccessibleEvent_getContextObject):
1572 Implementations of new methods, for obtaining
1573 additional context information from some event types.
1575 * cspi/spi_registry.c:
1576 (SPI_registerGlobalEventListener):
1577 Added mention of active-descendant-changed event in docs.
1579 * cspi/cspi-bonobo-listener.c:
1581 Marshal the any into the AccessibleEvent via
1584 * libspi/spi-private.h:
1585 #include <orbit/orbit.h>
1587 (spi_init_any_string):
1588 (spi_init_any_object):
1589 New convenience function declarations.
1593 (spi_init_any_string):
1594 (spi_init_any_object):
1595 New convenience function implementations.
1597 * registryd/deviceeventcontroller.c:
1598 (spi_poll_dec_mouse_moved):
1599 (spi_device_event_controller_forward_mous_event):
1600 Initialize any_data member of event.
1601 (spi_deregister_controller_device_listener):
1602 Fix incorrect param pass which was preventing deregistration.
1604 * registryd/registry.c:
1605 (desktop_add_application):
1606 (desktop_remove_application):
1607 Add object data to event's any_data before dispatch.
1609 Fix for error messages from GAIL.
1611 * test/event-listener-test.c:
1612 Test new ContextString and "any_data" API:
1613 (report_text_event): New method query and output context string.
1614 (main): register a new text listener with report_text_event
1617 2002-11-19 Darren Kenny <darren.kenny@sun.com>
1619 Fixes for bugs 98127 and 97914.
1620 * cspi/spi-roletypes.h:
1621 Added SPI_ROLE_HEADER, SPI_ROLE_FOOTER, SPI_ROLE_PARAGRAPH,
1623 * cspi/spi-statetypes.h:
1624 Added SPI_STATE_MANAGES_DESCENDANTS
1626 Added SPI_RELATION_FLOWS_TO, SPI_RELATIONS_FLOWS_FROM,
1627 SPI_RELATION_SUBWINDOW_OF, SPI_RELATION_EMBEDS, SPI_RELATION_EMBEDDED_BY
1628 * cspi/spi_accessible.c:
1629 Added mapping in role_table from new Accessibility_ROLE_* to SPI_ROLE_*
1630 Added mapping from SPI_STATE_MANAGES_DESCENDANTS to
1631 Accessibility_STATE_MANAGES_DESCENDANTS
1632 * libspi/accessible.c:
1633 Added Mapping from ATK_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER} to
1634 Accessibility_ROLE_{FOOTER,HEADER,PARAGRAPH,RULER}
1635 As requested by Bill, I also cleaned up the alignment.
1636 * libspi/relation.c:
1637 Added mapping of the ATK_RELATION_{FLOWS_TO,FLOWS_FROM,SUBWINDOW_OF,
1638 EMBEDS,EMBEDDED_BY} to equivalend Accessibility_RELATION_*
1639 * libspi/stateset.c:
1640 Added mappings between ATK_STATE_MANAGES_DESCENDANTS and
1641 Accessibility_STATE_MANAGES_DESCENDANTS
1642 * docs/reference/cspi/tmpl/spi_accessible.sgml:
1643 Document changes reflecting modifications to roles.
1644 * docs/reference/cspi/tmpl/spi_relation.sgml:
1645 Document changes reflecting modifications to relations.
1646 * docs/reference/cspi/tmpl/spi_stateset.sgml:
1647 Document changes reflecting modifications to states.
1649 2002-11-17 Bill Haneman <bill.haneman@sun.com>
1652 Revved to 1.1.3, interface-age=3, binary-age=3.
1653 Added REBUILD macro.
1656 Removed accessx-gui from the tests, since we have a nice
1657 keyboard accessibility capplet now :-)
1659 * test/keysynth-demo.c:
1660 (increment_scan): removed do-nothing default: case,
1663 * test/visual-bell.c:
1664 (main) : removed do-nothing default: case,
1667 * cspi/spi_action.c:
1668 (AccessibleAction_getKeyBinding_):
1669 Documented keybinding string format.
1673 (AccessibleText_getAttributes):
1674 Documented the text attribute string format.
1675 It's changed to use semicolon delimiters also,
1676 to prevent clashes with CSS attributes, but the old
1677 trick of looking for ", " strings will still work
1678 (as unreliably as ever). Fix for bug related to 97916.
1681 Include <cspi/bonobo/cspi-bonobo-listener.h>
1682 Fixes build warning.
1683 (SPI_freeAccessibleKeySet):
1684 (AccessibleKeystrokeListener_addCallback):
1685 (AccessibleKeystrokeListener_removeCallback):
1686 Modify to use AccessibleDeviceListener API internally,
1687 instead of AccessibleKeystrokeListener.
1689 * idl/Accessibility_Event.idl:
1690 Added two more empty slots to EventListener (for a total of four).
1692 * idl/Accessibility_Accessible.idl:
1693 Added four empty slots to Accessible interface.
1695 2002-11-15 Bill Haneman <bill.haneman@sun.com>
1697 * idl/Accessibility_Registry.idl:
1698 (KeyEventType, EventType):
1699 Marked KeyEventType as deprecated; it duplicates
1700 functionality of EventType, which has been extended to
1701 include Mouse-button events.
1702 (KeyEventTypeSeq): defined in terms of EventType.
1703 (registerDeviceEventListener, deregisterDeviceEventListener):
1704 New methods, for managing listeners to device events,
1705 which potentially may consume them.
1708 Added definition for AccessibleDeviceListener.
1710 * cspi/spi-listener.h:
1711 (enum AccessibleDeviceEventType):
1712 Added SPI_BUTTON_PRESSED and SPI_BUTTON_RELEASED.
1713 Typedef'd AccessibleKeyEventType to AccessibleDeviceEventType
1714 for backwards compat.
1715 (AccessibleKeystroke): Renamed AccessibleKeystroke to AccessibleDeviceEvent,
1716 and typedef'd AccessibleKeystroke to it for back-compat.
1717 (AccessibleDeviceListenerCB):
1718 New function prototype typedef.
1721 (AccessibleDeviceEventMask): New typedef.
1722 (AccessibleModifierMaskType): New typedef (renamed from AccessibleKeyMaskType).
1723 (AccessibleKeyMaskType):
1724 Set equivalent to AccessibleModifierMaskType for back-compat.
1725 (SPI_createAccessibleKeystrokeListener):
1726 (AccessibleKeystrokeListener_unref):
1727 Deprecated in favor of equivalent (better-named) new API below..
1728 keystroke listeners are like all device listeners.
1729 (SPI_createAccessibleDeviceListener, AccessibleDeviceListener_unref)
1730 New API names for old features :-).
1731 (AccessibleDeviceListener_addCallback):
1732 (AccessibleDeviceListener_removeCallback):
1733 (SPI_registerDeviceEventListener):
1734 (SPI_deregisterDeviceEventListener):
1738 (SPI_createAccessibleKeystrokeListener):
1739 Use new preferred API, cspi_device_listener_new() and
1740 cspi_device_listener_add_cb().
1741 (AccessibleKeystrokeListener_removeCallback):
1742 Use new preferred API, cspi_device_listener_remove_cb().
1743 (AccessibleKeystrokeListener_unref):
1744 Use new preferred API, cspi_device_listener_unref().
1745 (SPI_createAccessibleDeviceListener):
1746 (AccessibleDeviceListener_addCallback):
1747 (AccessibleDeviceListener_removeCallback):
1748 Implementation of new API.
1750 * cspi/spi_registry.c:
1751 (SPI_registerDeviceEventListener):
1752 (SPI_deregisterDeviceEventListener):
1753 Implementation of new API. Fixed memory leak and removed need to
1754 allocate EventTypeSeq (thanks Michael for catching this).
1755 Squashed a wayward CORBA_exception_free that shouldn't get called.
1757 * cspi/bonobo/cspi-bonobo-listener.c:
1759 Changed union (bin-and-api-compatibly) to refer to AccessibleDeviceListenerCB.
1760 (cspi_key_event): renamed to cspi_device_event().
1761 Internal use of CSpiKeystrokeListener changed to CSpiDeviceListener.
1762 Extended to handle mouse button events as well as key events.
1763 (CSpiKeystrokeListener):
1764 Class superceded by CSpiDeviceListener.
1765 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1766 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1768 * cspi/bonobo/cspi-bonobo-listener.h:
1769 (CSpiKeystrokeListener):
1770 Class superceded by CSpiDeviceListener.
1771 (cspi_keystroke_listener_add_callback, cspi_keystroke_listener_get_corba):
1772 These internal APIs changed to "*device_listener" from "*keystroke_listener".
1774 * libspi/Makefile.am:
1775 Replaced keystrokelistener.h and keystrokelistener.c
1776 with devicelistener.h and devicelistener.c; keystrokelisener.h
1777 stub retained for back-compat.
1779 * libspi/keystrokelistener.c:
1783 Replaced inclusion of keystrokelistener.h with devicelistener.h.
1785 * registryd/deviceeventcontroller.c:
1786 (DEControllerListener): Added Accessibility_EventTypeSeq member.
1787 (DEControllerKeyListener): Removed Accessibility_KeyEventTypeSeq member.
1788 (DEControllerPrivateData): Added xkb settings data.
1789 (spi_dec_poll_mouse_moved): Changed to dispatch device events for
1790 button release events (which can't be captured via XGrabButton).
1791 Don't dispatch via the 'normal' event mechanism if the device event was
1793 (spi_dec_key_listener_new, spi_key_listener_clone, spi_key_listener_data_free):
1794 Handle the typeseq data in its new location (see above).
1795 (spi_dec_listener_new, spi_listener_clone, spi_listener_clone_free):
1796 New methods, for "generic" device listeners.
1797 (spi_controller_register_device_listener):
1798 Now handle mouse event listeners as well as key listeners.
1799 (spi_controller_notify_mouselisteners):
1800 New internal method.
1801 (spi_device_event_controller_forward_mouse_event):
1802 Now we notify mouse device listeners as well as generating the
1803 non-consumable "mouse:" events.
1805 We must check and restore the XKB
1806 modifier map if we consume the event, since the act of triggering
1807 a mouse event will normally reset the XKB latch. This is required for
1809 (spi_controller_register_with_devices):
1810 Load the XKB settings when registering, and register for XKB
1811 state notify events.
1812 (spi_key_eventtype_seq_contains_event):
1813 Renamed spi_eventtype_seq_contains_event, since it's used
1814 internally for all device event types now.
1815 (spi_key_event_matches_listener):
1816 Uses spi_eventtype_seq_contains_event now.
1817 (spi_device_event_controller_object_finalize):
1818 Free the private data and the XkbKeyboard struct.
1819 (impl_register_device_listener, impl_deregister_device_listener):
1820 Implementation of new IDL.
1821 (spi_deregister_controller_device_listener):
1822 New internal method.
1823 (dec_xkb_get_slowkeys_delay dec_xkb_get_bouncekeys_delay):
1824 More efficient implementation, we don't have to create a new
1825 XkbControls structure every time we query.
1826 (spi_device_event_controller_class_init):
1827 Initialize the epv entries for the new IDL. Assign the
1828 "spi-dec-private" quark.
1829 (spi_device_event_controller_init):
1830 Initialize the private data.
1831 (spi_device_event_controller_forward_key_event):
1832 Removed a bogus CORBA_exception_free() call.
1834 * registryd/deviceeventcontroller.h:
1835 Replaced inclusion of keystrokelistener.h with
1838 * test/event-listener-test.c:
1839 (report_mouse_event):
1842 Added mouse-event device listener.
1844 * test/test-simple.c:
1845 (create_test_window):
1846 Fixed regression (we were instantiating a GtkRange,
1847 which is now an abstract class). Also fixed to match
1848 existing AtkRole names, this seems to have changed in ATK
1849 awhile ago; too late now I think, and the new
1850 mechanism is at least elegant and consistent with the
1851 glib enum "nick" APIs.
1853 2002-11-15 Darren Kenny <darren.kenny@sun.com>
1855 * idl/Accessibility_Relation.idl:
1856 add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
1857 RELATION_EMBEDS,RELATION_EMBEDDED_BY
1858 * idl/Accessibility_Role.idl:
1859 add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
1860 * idl/Accessibility_State.idl:
1861 add STATE_MANAGES_DESCENDANTS
1862 * test/event-listener-test.c:
1863 Added a listener for active-descendant events.
1865 2002-11-15 Padraig O'Briain <padraig.obriain@sun.com>
1867 * atk-bridge/bridge.c
1868 (atk_bridge_init): If application is Bonobo component wait until top
1869 level is added before registering
1870 (spi_atk_bridge_do_registration): New function which contains code,
1871 formerly in atk_bridge_init, to do application registration.
1872 (spi_atk_bridge_toplevel_added): Signal called when top level
1873 added to Bonobo component
1875 This fixes bug #83134.
1877 2002-10-23 Vitaly Tishkov <tvv@sparc.spb.su>
1879 * registryd/deviceeventcontroller.c
1880 Fixed compilation error caused by calling gettimeofday()
1883 2002-10-18 Bill Haneman <bill.haneman@sun.com>
1888 Added template for HAVE_XKB.
1891 Changes to check for XKB, and to set the HAVE_XKB #define if it
1894 * libspi/listener.c:
1895 ()impl_notify_event): Make failure to get event source name
1898 * registryd/deviceeventcontroller.c:
1899 (#include): include X11/XKBlib.h.
1900 (DEControllerPrivateData) : New struct.
1901 (dec_xkb_get_slowkeys_delay) (dec_xkb_get_boucekeys_delay) :
1903 (dec_synth_keycode_press) (dec_synth_keycode_release):
1904 New methods; split the key synthesis code into these methods.
1905 They check XKB settings before determining the "time" values to
1906 pass to Xtest; this fixes bug #95828.
1907 (impl_generate_keyboard_event): Changed to use methods above,
1908 instead of callng Xtest directly.
1909 (spi_device_event_controller_init): Initialize new privae struct s
1911 (spi_device_event_controllr_object_finalize):
1912 Free the (new) private data.
1914 * registryd/deviceeventcontroller.h:
1915 Add new gpointer to end of struct data.
1917 2002-10-16 Bill Haneman <bill.haneman@sun.com>
1920 Incremented revision to 1.1.2, SONAME is still '.so', library
1921 extensions are ".so.0.0.2".
1923 * registryd/deviceeventcontroller.c:
1924 FIXES FOR #93592 and #95940.
1925 (statics): renamed mouse_button_state to mouse_mask_state,
1926 added key_modifier_mask.
1927 (spi_dec_poll_mouse_moved):
1928 Added key modifier checks, and emit "keyboard:modifiers"
1929 events when the key modifiers currently in use change.
1930 Also generate "mouse:abs" events periodically, even if the mouse
1931 is stationary (should we?).
1932 Alternatively we could generate "mouse:abs" events for either all
1933 mouse movements, or every 'nth' mouse movement, or at the
1934 beginning and end of every "active" mouse period.
1936 * test/event-listener-test.c:
1937 (main): Added listener for "keyboard:modifiers" events.
1939 2002-10-15 Bill Haneman <bill.haneman@sun.com>
1941 * libspi/keymasks.h:
1942 Added key mask #defines for mouse buttons; e.g.
1943 SPI_KEYMASK_BUTTON1, etc.
1946 Incremented dependency on ATK to version 1.1.0. (This dependency
1947 is probably premature but will soon be real enough).
1949 2002-10-11 Padraig O'Briain <padraig.obriain@sun.com>
1951 * libspi/hyperlink.[ch]
1952 (spi_hyperlink_new): Change parameter from AtkObject to AtkHyperlink.
1953 (get_hyperlink_from_servant): Check object is AtkHyperlink not
1956 * libspi/hypertext.c (impl_getLink): Remove cast of AtkHyperlink to
1961 2002-10-10 Padraig O'Briain <padraig.obriain@sun.com>
1963 * registryd/deviceeventcontroller.c
1964 (global_filter_fn): Correct typo which caused KeyPress and KeyRelease
1965 events to be ignored.
1966 (spi_controller_update_key_grabs): Use GrabModeSync for pointer_mode
1967 keyboard_mode so that XAllowEvents() can be called.
1971 2002-10-08 Padraig O'Briain <padraig.obriain@sun.com>
1973 * cspi/spi-accessible.c: Correct names of roles returned by
1974 AccessibleRole_getName(). Fixes bug #95055.
1976 2002-10-03 Padraig O'Briain <padraig.obriain@sun.com>
1978 * cspi/spi_main.c (report_leaked_ref): Report address of leaked
1981 * registryd/registry.c
1982 (desktop_remove_application: Write diagnostic message to stderr for
1985 (impl_accessibility_registry_deregister_global_event_listener):
1986 Correct size of lists array. This addresses bug #94555).
1988 2002-09-24 Padraig O'Briain <padraig.obriain@sun.com>
1990 * libspi/accessible.c (spi_init_role_lookup_table): Correct typos
1993 2002-09-19 Padraig O'Briain <padraig.obriain@sun.com>
1995 * registryd/Makefile: Add CLEANFILES so that .server file is removed
1998 * registryd/registry.c (impl_registry_notify_event): Remove
1999 unnecessary call to parser_event_type().
2001 * docs/reference/cspi/tmpl/spi_component.sgml:
2002 Add reference to SPI_LAYER_WINDOW.
2004 2002-09-17 Padraig O'Briain <padraig.obriain@sun.com>
2006 * registryd/registry.c
2007 (desktop_add_application): Remove leak.
2008 (desktop_remove_application): Remove leak.
2009 (parser_event_type): Remove leak.
2011 2002-09-16 Padraig O'Briain <padraig.obriain@sun.com>
2013 * registryd/deviceeventcontroller.c (spi_dec_mouse_moved): Removed
2014 bogus call to CORBA_string_dup(). Also removed unnecessary
2015 g_string_dup/g_free calls.
2017 2002-09-13 Bill Haneman <bill.haneman@sun.com>
2019 * registryd/deviceeventcontroller.c:
2020 spi_dec_mouse_moved: Fixed memory leaks and reordered 2 code blocks.
2022 * test/event-listener-test.c:
2023 main: commented out three redundant listeners, to reduce output
2024 noise. (They still are potentially useful for testing).
2027 2002-09-13 Michael Meeks <michael@ximian.com>
2029 * Update all the copyrights to include Ximian.
2031 2002-09-06 Mark McLoughlin <mark@skynet.ie>
2033 * cspi/spi.h: add SPI_LAYER_WINDOW.
2035 * cspi/spi_component.c: (AccessibleComponent_getLayer):
2036 add Accessibility_LAYER_WINDOW case.
2038 * idl/Accessibility_Component.idl: add LAYER_WINDOW.
2040 * libspi/component.c: (impl_accessibility_component_get_layer):
2041 add ATK_LAYER_WINDOW case.
2043 2002-08-28 Bill Haneman <bill.haneman@sun.com>
2045 * configure.in: incremented micro version.
2047 * branched for gnome-2-0 (a gnome-2-0-0 branch already exists).
2049 2002-08-20 Bill Haneman <bill.haneman@sun.com>
2052 Clarified and reworded our commit policy.
2055 Started an API "todo" addition list for 2.2.
2058 (impl_getSelection):
2059 Free char pointer from atk_text_get_selection, which was being leaked.
2061 2002-08-19 Bill Haneman <bill.haneman@sun.com>
2064 Small revision to author acknowledgement.
2066 2002-08-19 Padraig O'Briain <padraig.obriain@sun.com>
2068 * atk-bridge/bridge.c (spi_atk_bridge_signal_listener):
2069 If signal has detail add it to the type of the event.
2072 2002-08-12 Michael Meeks <michael@ximian.com>
2074 * test/test-simple.c (global_listener_cb): bin bogosity.
2075 (test_keylisteners): disable, still doesn't work reliably,
2076 certainly not on my system anyway.
2078 * atk-bridge/bridge.c (spi_atk_bridge_key_listener):
2079 don't leak a reference on the DEC. This round-trip
2080 fetching of the DEC per keystroke sucks, it should be
2083 * cspi/spi-private.h,
2084 * cspi/cspi-lowlevel.h,
2085 * cspi/bonobo/cspi-bonobo-listener.[ch],
2086 * cspi/bonobo/cspi-bonobo.c: get the copyright
2087 notices better - there is still a large amount of
2088 work in at-spi falsely attributed solely to Sun.
2090 * cspi/spi_main.c (cspi_object_ref): kill bogus
2091 hash lookup, just increment the ref.
2092 (SPI_freeString): make explicit the fact that we
2093 handle NULL strings just fine.
2094 (report_leaked_ref): obey coding standards.
2095 (cspi_object_hash, cspi_object_equal): kill retval.
2096 (cspi_object_release): only release if not on loan.
2097 (cspi_object_get_ref): add 'loan' concept, bin 'do_ref'.
2098 (cspi_object_borrow, cspi_object_return): impl.
2100 * cspi/bonobo/cspi-bonobo-listener.c (cspi_event):
2101 use cspi_object_borrow / return.
2103 2002-08-12 Darren Kenny <darren.kenny@sun.com>
2105 * cspi/bonobo/cspi-bonobo-listener.c:
2107 Don't call cspi_oject_new() because this is creating a new Accessible
2108 every single time that an event is fired. This causes ATs like at-poke
2109 to nolonger recognise the source of the event and thus ignore it.
2110 Re-use the object from the cache, ref it and then unref it after the
2111 listeners have been called.
2113 2002-08-06 Darren Kenny <darren.kenny@sun.com>
2115 * test/event-listener-test.c:
2116 Added command-line options to disable mouse events (m) and
2119 2002-07-31 Padraig O'Briain <padraig.obriain@sun.com>
2121 * configure.in: Update required versions of ATK, GTK+ and GAIL
2123 * cspi-1.0.pc.in: Add dependency for X include files
2126 * cspi/bonobo/Makefile.am:
2127 Add $(X_CFLAGS) so that X include files
2128 are picked up even if not in standard place (bug #71686)
2130 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2132 * registryd/deviceeventcontroller.c: fix for 84261
2133 (spi_dec_mouse_moved):
2134 Added test of mouse button mask, so that we can detect mouse
2135 button release. Unfortunately we can't otherwise detect mouse
2136 button release events without consuming the mouse press event,
2137 because of the way XGrabButton works. This means that our mouse
2138 release events have a latency dependent on the polling period
2139 while the mouse button is down. At least in this case we only
2140 have to poll while the button is down, and not at other times.
2141 If the button masks don't match with what the last press event
2142 reported, we report the appropriate button release event.
2143 (spi_dec_ungrab_mouse):
2144 New method (not yet called).
2145 (spi_device_event_controller_forward_mouse_event):
2146 New method, sends mouse press event from GdkFilter.
2147 (spi_dec_init_mouse_listener):
2148 Added code to call XGrabButton, redirecting mouse button events to
2149 the root window and our Gdk event loop.
2151 Added code to filter mouse button events, and reordered.
2153 * test/event-listener-test.c:
2155 Added registration for mouse events of type "mouse:button".
2157 2002-06-25 Bill Haneman <bill.haneman@sun.com>
2159 * registryd/deviceeventcontroller.c: partial fix for 84261
2160 (spi_dec_poll_mouse_idle):
2161 New method, a timeout which checks to see if the mouse
2163 (spi_dec_poll_mouse_moving):
2164 A timeout to be called when mouse motion is underway.
2165 (spi_dec_poll_mouse_moved):
2166 A method which fires an event if the mouse has moved, and reports
2167 whether or not it did so.
2168 (spi_dec_init_mouse_listener):
2169 A method which sets up the timeouts above.
2170 (spi_device_event_controller_new):
2171 Now calls spi_dec_init_mouse_listener.
2173 * registryd/registry.c:
2174 (spi_registry_init):
2175 Now we initialize the device event controller when the registry is
2176 initialized, instead of waiting until a client has requested a key
2177 event notification; this is because we need the event controller
2178 for mouse events, but the mouse event registration API is a
2179 "registry" call and doesn't explicitly call the
2180 deviceeventcontroller.
2181 We now report mouse motion events with a 100 ms idle latency and
2182 a 20 ms granularity when motion is in progress.
2184 * test/event-listener-test.c:
2186 We now register the "detail listener" for events of type
2187 "mouse:rel" and "mouse:abs" (Note, mouse-abs events generally are
2188 delivered only for the first mouse event received, and thereafter
2189 "mouse:abs" events are delivered.)
2191 * cspi/spi_registry.c:
2192 DOCS: Documented the above mouse event typestrings.
2194 2002-06-21 Bill Haneman <bill.haneman@sun.com>
2196 Happy Summer Solstice...
2198 * registryd/deviceeventcontroller.c: [fix for bug 84100]
2199 (spi_controller_notify_keylisteners):
2200 Changes to remove a listener from the listener list, freeing its
2201 open keygrabs, if a notification to that listener fails. This
2202 means that although a dead listener can continue to hold a passive
2203 keygrab, a maximum of one dispatch to such a listener can fail
2204 before the listener is removed from the list, thus the keygrab
2205 will be released on the next occurrence.
2206 As part of this fix:
2207 (spi_notify_keylisteners):
2208 Renamed to spi_controller_notify_keylisteners, as the controller
2209 instance must now be passed as an argument.
2210 The copied 'notify' GList is now a list of DEControllerKeyListener
2211 objects, since we need more than just the CORBA reference if a
2212 notify fails and we need to deregister the listener.
2213 (impl_notify_listeners_sync):
2214 (impl_notify_listeners_async):
2215 (spi_device_event_controller_forward_key_event):
2216 Modify use of notify_keylisteners in accordance with above
2218 (spi_deregister_controller_key_listener):
2219 New method introduced by refactoring, from
2220 impl_deregister_keystroke_listener.
2221 (impl_deregister_keystroke_listener):
2222 Call spi_deregister_controller_key_listener.
2223 (spi_key_listener_clone):
2224 New method to copy a key listner without doing a 'ref' on the
2225 remote object instance; used to create a notifier list.
2226 (spi_key_listener_data_free):
2227 New method, frees data without unreffing the source.
2229 (spi_key_listener_clone_free): new method.
2230 (spi_key_listener_free):
2231 refactored to call spi_key_listener_data_free.
2233 2002-06-20 Bill Haneman <bill.haneman@sun.com>
2235 * registryd/registry.c: [fix for bug 86048]
2236 (notify_listeners_cb):
2237 Clear CORBA system exceptions which occur when notifying
2238 listeners, before returning to the source of the original event,
2239 since the event source doesn't care if the relayed notify failed.
2240 In other words, don't complain to the atk-bridge if the registry
2241 could not notify all its listeners, that's no fault of the
2242 application and thus should not appear to be an error from the
2243 application's perspective.
2245 * cspi/spi_main.c: [fix for bug 85980]
2247 Replaced use of bonobo_object_dup_ref with call to the wrapper
2248 method, csou_dup_ref (); this silences a compiler warning and
2249 provided more portability.
2251 Ping the registry before return, and restart if necessary.
2253 * cspi/bonobo/cspi-bonobo.c:
2255 New internal method.
2257 Fixed this method to return an object reference, as it should have
2260 * cspi/cspi-lowlevel.h:
2261 Added internal definition for cspi_ping() and fixed
2262 return type of cspi_dup_ref().
2265 2002-06-19 Bill Haneman <bill.haneman@sun.com>
2267 * atk-bridge/bridge.c: [fix for bug 85305]
2268 (spi_atk_bridge_register_application):
2269 New method where the initial application registry calls have been
2270 moved; it allows an application to re-register in response to
2271 certain error conditions (such as a registry restart, see below).
2273 Moved some initialization code to the method
2274 spi_atk_bridge_get_registry, below.
2275 (spi_atk_bridge_get_registry):
2276 New, private accessor function for the Accessibility_Registry
2277 instance. If the registry has not been started before, or has
2278 died (as detected by failure of a CORBA exception), it is
2279 restarted before return, and spi_atk_bridge_register_application
2280 is called again to register with the new bridge instance.
2281 (spi_atk_emit_eventv):
2282 Set registry_died on error; use spi_atk_bridge_get_registry () to
2283 access the registry.
2285 * registryd/registry.c:
2286 (impl_accessibility_registry_register_global_event_listener):
2287 Set listener's event_type_quark to etype.minor instead of
2288 etype.major (fix for bug 84856).
2290 * test/event-listener-test.c:
2291 (report_detail_event):
2292 Change the output string so that user/tester can tell that the
2293 'detail listener' was called instead of the 'generic listener'.
2295 2002-06-18 Bill Haneman <bill.haneman@sun.com>
2297 Fixes for bugs 84900, 84908, 84897, 84898.
2302 Revved version to 1.1.0
2303 (reserving the 1.0.X branch for gnome-2-0-0 branch, this
2304 version is going to HEAD which will be used for gnome-2-0-1 and later.)
2306 * idl/Accessibility_Registry.idl:
2307 (EventListener::notifyEvent):
2308 Removed 'oneway' directive after extensive consulation with
2309 ORBit2 team and others. This means also that unref() of the event
2310 source can and should be done synchronously after emission, rather
2311 than remotely in the client, after servicing the notify call on
2314 NOTE: This change speeds up listener performance considerably, but
2315 introduces new latency on the application side. We may want to
2316 add an event queue to the atk-bridge.
2318 * atk-bridge/bridge.c:
2319 (spi_atk_bridge_focus_tracker):
2320 Do a local unref() on the event source after emission.
2322 * registryd/registry.c:
2323 (desktop_remove_application):
2324 Do an unref() on the event source after emission.
2325 (desktop_add_application):
2326 Do an unref() on the event source after emission.
2327 (notify_listeners_cb):
2328 When relaying an event, don't automatically add the event source
2329 to the local object cache, just CORBA_dup it instead. Likewise,
2330 if this method reenters, release the ref rather than calling
2332 (impl_registry_notify_event):
2333 No longer call remote unref() on the event source after dispatch.
2335 * libspi/eventlistener.c:
2336 (impl_accessible_event_notify_event):
2337 Removed remote unref ()
2339 * cspi/bonobo/cspi-bonobo-listener.c:
2341 We now call cspi_object_new() instead of cspi_object_add() on
2342 receipt of an event; thus we only have an implicit object ref
2343 while the cspi_event method is being executed. If we need to keep
2344 a reference to the object, the listener must call ref() on the
2345 object. Thus also we don't need to call cspi_object_unref() after
2346 invoking the listener callbacks in this method.
2350 New internal API for creating a new cspi object, without adding it
2351 to the object cache.
2353 Now uses cspi_object_new() to create the cspi object instance.
2355 Now checks to see if the object is in the internal object cache,
2356 and adds it if necessary before incrementing its refcount (note
2357 that new objects are added with a refcount of 1).
2358 (report_leaked_ref):
2359 New method which gives some information on leaked object instances
2360 if leak detection is turned on.
2362 * test/event-listener-test.c:
2363 (timing_test_event):
2364 New method, used for testing event delivery timing for special
2365 events of type "object:test". It reports elapsed time and
2366 events/sec every 500 events.
2368 Added a new listener, 'test listener', to check timing of event
2369 receipt as noted above.
2371 Added some timing output here also, reports elapsed time every 100
2374 * test/stress-test.c:
2375 Emit events of type "object:test", for use with "event-listener-test".
2377 * test/test-simple.c:
2378 (global_listener_cb):
2379 Call Accessible_ref() on the event source before calling
2380 validate_accessible, since the validation process does pointer
2381 comparisons on the event source, meaning that the event source
2382 needs to be added to the local object cache first. Any use of
2383 such pointer comparisons between Accessible objects requires that
2384 the caller hold an explicit reference to those objects.
2385 We also must therefore call Accessible_unref() when leaving this method.
2387 2002-06-13 Bill Haneman <bill.haneman@sun.com>
2389 * registryd/deviceeventcontroller.c:
2390 (spi_controller_update_key_grabs):
2391 Fix for #84735, subsequent keygrab listeners not informed of
2392 registration failure.
2395 (spi_base_construct):
2396 Add an assertion on construct, to make sure the GObject passed in
2397 is really a GObject.
2399 Explicitly initialize object->gobj pointer to NULL;
2401 * cspi/bonobo/cspi-bonobo-listener.c:
2402 (cspi_object_add_ref):
2403 New method, can specify whether to dup-ref a bonobo object passed
2404 in if it's newly added to the object cache.
2406 Now calls cspi_object_add_ref with second param of "FALSE". This
2407 prevents us from doing a pointless dup-ref followed by
2408 release-unref for all those cases where the object is already in
2409 our object cache (fix for #85205).
2411 * atk-bridge/bridge.c:
2412 (spi_atk_bridge_idle_init):
2413 Removed this method, we don't need to initialize in an idle
2416 Changed to call spi_atk_register_event_listeners directly, not via an
2417 idle handler. (fix for #81139)
2418 (gnome_accessibility_module_shutdown):
2419 Removed conditional around deregistration of listeners, since we
2420 don't use the idle handler and thus have always registered when
2422 (spi_init_keystroke_from_atk_key_event):
2423 Changed references to Accessibility_KEY_PRESSED to
2424 Accessibility_KEY_PRESSED_EVENT, etc. (fix for #79865).
2426 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2428 (TAGGED AND BRANCHED for gnome-2-0-0 after this commit)
2433 * test/stress-test.c:
2436 (may have been an incomplete commit yesterday?)
2438 2002-06-12 Bill Haneman <bill.haneman@sun.com>
2441 Added target for new stress-test.
2443 * test/stress-test.c:
2444 New test, sends 1000 focus notifies in quick succession.
2446 * test/key-listener-test.c:
2447 Now we report whether a keylistener registration
2448 request succeeded or failed.
2450 * test/event-listener-test.c:
2451 Uncommented some listeners which are now implemented.
2454 2002-06-06 Bill Haneman <bill.haneman@sun.com>
2456 * registryd/deviceeventcontroller.c:
2457 (spi_controller_update_key_grabs):
2458 Fix for #82509, lack of failure notification when
2459 ALL_WINDOWS keygrabs fail due to XGrabKey
2460 failure: we synchronize the server when
2461 registering a passive grab, to make sure we get the
2462 error message before the call returns.
2464 2002-06-03 Bill Haneman <bill.haneman@sun.com>
2466 * test/test-simple.c:
2468 Removed #ifdef KEY_IMPL_WORKS guards.
2469 (test_keylisteners):
2470 Removed #ifdef KEY_IMPL_WORKS guards.
2471 Fixed bug which was causing a hang waiting for a
2472 "press" event (which was already overwritten by a "release"
2473 event) from SPI_generateKeyboardEvent with synth-type of SPI_KEY_SYM.
2475 Added code to set globals 'key_press_received' and
2476 'key_release_received'.
2479 Added section "1.1 API Proposed Additions" which
2480 lists API additions desired for at-spi-1.1 (only one so far).
2481 Updated TODO list a little.
2483 2002-06-02 Bill Haneman <bill.haneman@sun.com>
2485 AT-SPI 1.0 API FINAL: at-spi 1.0 is now
2488 * configure.in: Revved to 1.0.0.
2490 * idl/Accessibility_Registry.idl:
2491 (registerKeystrokeListener):
2492 Added boolean return value.
2494 * registryd/registry.c:
2495 (notify_listeners_cb): Minor fix to debug output.
2497 * registryd/Accessibility_Registry.server.in.in:
2498 Revved version number in OAFIID to 1.0.
2500 * registryd/registryd.c:
2502 Use new OAFIID version.
2504 * cspi/bonobo/cspi-bonobo.c:
2506 Use new OAFIID version.
2512 * atk-bridge/bridge.c:
2514 Use new OAFIID version.
2516 * registryd/deviceeventcontroller.c:
2517 (impl_register_keystroke_listener):
2518 Added CORBA_boolean return value.
2519 (spi_controller_register_device_listener):
2520 Added gboolean return value.
2521 (spi_controller_register_global_keygrabs):
2522 Added gboolean return value.
2523 (spi_key_set_contains_key):
2524 Added implementation for many more control keys,
2525 for instance F1-F12, arrow keys, End, Home, Page_Up,
2527 [TODO: some still not implemented].
2529 * text/screen-review-test.c:
2530 (text_chunk_pad_string):
2531 New function: it provides mapping between coordinate
2532 positions of text chunks and character positions in the
2533 screen-review-line output string.
2534 (text_chunk_to_string):
2535 New function, calls text_chunk_pad_string with various
2536 pad/delimiter characters. Pushbuttons are delimited with
2537 square brackets, Frames with vertical 'pipe' lines, and
2538 other text with double quotes.
2539 (text_chunk_list_to_string):
2540 Calls new function text_chunk_to_string.
2541 (toplevel_composite):
2542 New function to composite layers CANVAS through
2543 POPUP in each toplevel (other layers are composited
2544 across toplevels, i.e. BACKGROUND and OVERLAY).
2545 (review_buffer_composite):
2546 Revise to use new methods.
2552 2002-05-31 Laszlo Peter <laca@sun.com>
2554 * configure.in: add the Xtst libdir to the runpath on Solaris,
2555 since it's not in the default library search path.
2557 2002-05-29 jacob berkman <jacob@ximian.com>
2559 * registryd/Makefile.am (EXTRA_DIST): dist the .in.in
2561 2002-05-29 Bill Haneman <bill.haneman@sun.com>
2563 * test/screen-review-test.c:
2564 (text_chunk_pad_string):
2565 Added method, which pads the string according to the
2566 text bounds of the chunk. It also takes a 3-character
2567 string as a param which indicates the characters to be
2568 used for start, padding, and end delimitation of the chunk.
2569 (text_chunk_to_string):
2570 Changed to use text_chunk_pad_string.
2572 * configure.in: Fixed bug in AC_OUTPUT that was
2573 causing path substitution in Accessibility_Registry.server
2576 2002-05-23 Bill Haneman <bill.haneman@sun.com>
2578 * text/screen-review-test.c:
2579 (guess_string_clip):
2580 New method which attempts a best-guess at clipping
2581 text from components (like Java labels) which don't
2582 actually implement AccessibleText. This inaccurate
2583 clip is based on the assumption that the label is
2584 justified left-and-right, and monospaced.
2585 (text_chunk_get_clipped_string):
2586 We now call guess_string_clip() for text-containing
2587 components that don't implement AccessibleText.
2589 * test/screen-review-test.c:
2590 (review_buffer_get_text_chunk):
2591 We now pull "name" from labels if they do not implement
2592 AccessibleText (i.e. for Java labels).
2593 (get_screen_review_line_at):
2594 Added #ifdef guards CHUNK_LIST_DEBUG for diagnostics.
2597 Replaceded AC_OUTPUT target
2598 registryd/Accessibility_Registry.server with
2599 registryd/Accessibility_Registry.server.in.
2601 * registryd/Accessibility_Registry.server.in:
2602 Removed (this is now a Makefile target).
2604 * registryd/Accessibility_Registry.server.in.in:
2605 Added (source for target above). We now use $(libexecdir) as
2606 prefix for the executable at-spi-registryd.
2608 * registry/Makefile.am:
2609 Now install at-spi-registryd into $(libexecdir), and build .server
2610 file with path (see above).
2612 2002-05-22 Bill Haneman <bill.haneman@sun.com>
2614 * test/screen-review-test.c:
2615 (text_chunk_get_clipped_string):
2616 We now check to see if words fall within clip bounds
2617 before resorting to character-by-character clip bounds testing.
2619 * TODO: Added a section for "2.2 Proposed API Additions".
2621 2002-05-21 Bill Haneman <bill.haneman@sun.com>
2623 * test/screen-review-test.c:
2625 Added a screen review benchmarking and test program to test
2628 * cspi/spi_accessible.c:
2630 Made some of the debug strings passed to cspi_check_ev a
2631 little more specific.
2633 2002-05-21 Padraig O'Briain <padraig.obriain@sun.com>
2635 * test/screen-review-test.c: Fix crashes in debug statements
2637 2002-05-20 Bill Haneman <bill.haneman@sun.com>
2639 * test/screen-review-test.c: Added this file.
2641 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2643 * atk-bridge/bridge.c: changed "object:state-change" to
2644 "object:state-changed" to match docs.
2646 2002-05-13 Marc Mulcahy <marc.mulcahy@sun.com>
2648 * atk-bridge/bridge.c: Hooked up state-change event details.
2650 2002-05-11 Bill Haneman <bill.haneman@sun.com>
2652 * registryd/registry.c:
2653 Fixed quarking bug in event string parsing; now events with
2654 detail parameters get matched correctly to listeners.
2657 * util/idl/Magnifier.idl: remove.
2659 * util/*.[ch]: Remove.
2660 Magnification utilities and IDL are now in module gnome-mag.
2662 2002-05-10 Bill Haneman <bill.haneman@sun.com>
2664 * registryd/deviceeventcontroller.c:
2665 Fixed bug in grab key conversion which was causing keycode grabs
2666 to be converted to AnyKey grabs.
2669 updated NEWS file to reflect recent spin-off of gnome-mag.
2671 2002-05-09 Marc Mulcahy <marc.mulcahy@sun.com>
2673 * cspi/spi_accessible.c: Added exception checks. Fixed completely
2674 busted AccessibleStateSet_compare. Removed redundant casts.
2676 * cspi/spi-action.c: Removed redundant casts.
2678 * cspi/spi_application.c: Fixed typo in AccessibleApplication_getVersion.
2680 * cspi/spi_component.c: Fixed typos and casting error.
2682 * cspi/spi_editabletext.c: Removed redundant casts.
2684 * cspi/spi_hyperlink.c: Fixed casting and exception checking.
2686 * cspi/spi_hypertext.c: Eliminated redundant casts.
2688 * cspi/spi_image.c: Eliminated redundant casts.
2690 * cspi/spi_registry.c: Eliminated redundant casts.
2691 SPI_deregisterGlobalEventListenerAll () removed retval variable.
2692 * cspi/spi_selection.c: Removed redundant casts.
2693 * cspi/spi_text.c: Eliminated redundant casts. Fixed exception
2694 handling. Screen geometry and text offsets were being returned as 0
2695 on error which is technically valid-- changed these to return -1.
2696 Added marshaller for text boundary types to fix bug with boundary
2697 types being passed incorrectly to atk.
2699 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2702 * cspi/spi_registry.c:
2703 Fixed nasty bug in SPI_registerAccessibleKeystrokeListener
2704 which was uncovered by the recent key changes.
2706 2002-05-09 Bill Haneman <bill.haneman@sun.com>
2708 * test/event-listener-test.c:
2710 Added new test, "event-listener-test";
2711 this code does two things; it benchmarks traversal time
2712 for the accessible hierarchy for the first running accessible
2713 app, and it connects listeners for all supported event types.
2714 It is thus useful as an example event listener and for
2715 diagnostics/debugging of event generation.
2717 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2720 Removed unnecessary dependency on libutil.
2723 Revved micro version: 0.13.1
2725 2002-05-08 Bill Haneman <bill.haneman@sun.com>
2728 Removed util/Makefile from targets.
2731 Removed util subdir from SUBDIRS (temporarily,
2732 pending removal of magnifier-only code
2736 #ifdef-ed out magnifier dependencies, since
2737 magnifier IDL, headers, and binary now live in
2738 module gnome-mag and we don't want at-spi to depend
2739 on gnome-mag. A magnifier demo which can run alongside
2740 simple-at is forthcoming in the gnome-mag module.
2742 NOTE: Split magnifier binary, IDL, and magnification
2743 activation code from at-spi into module gnome-mag.
2745 2002-05-03 Marc Mulcahy <marc.mulcahy@sun.com>
2747 * cspi/bonobo/cspi-bonobo.c cspi/bonobo/cspi-bonobo-listener.c
2748 cspi/bonobo/cspi-bonobo-listener.h: Added copyright notice.
2750 2002-05-03 Bill Haneman <bill.haneman@sun.com>
2753 Revved to version 0.13.0
2755 * idl/Accessibility_Registry.idl:
2756 Changed definition of KeySet from sequence of longs to sequence of
2757 KeyDefinitions, and added KeyDefinition struct.
2758 Required for fix to bug 80616.
2760 * cspi/spi_registry.c: SPI_registerAccessibleKeystrokeListener():
2761 Changed AccessibleKeySet to Accessibility_KeySet marshalling code
2762 to use new definition (see above).
2764 * registryd/deviceeventcontroller.c: handle_keygrab(),
2765 spi_keyset_contains_key():
2766 Changed to make use of new struct; this allows matching based on
2767 string key-name, for instance "Tab". This also allows matching of
2768 composed characters, non-alphanumeric characters in a way that
2769 doesn't involve dependencies on X keysym codes directly, etc.
2771 * test/key-listener-test.c:
2772 Added test for Alt-Tab key using "string" specification of keyset,
2773 and modified one of the tests to use a keycode-based keyset.
2774 Thus this test both tests and demonstrates the creation and use of
2775 keysets of three forms: specified via keycode array,
2776 keysym array, and string array. (The string case only contains a
2777 single string, i.e. a string array of length 1).
2780 Turned on PRINT_TREE option by default. Also fixed a
2781 string-freeing bug in the PRINT_TREE code.
2782 Added a listener to window:minimize events.
2784 2002-05-08 Padraig O'Briain <padraig.obriain@sun.com>
2786 * atk-bridge/bridge.c:
2787 (spi_atk_register_event_listeners) Call atk_add_global_event_listener()
2788 for window:activate and window:deactiveate
2789 (atk_bridge_property_event_listener atk_bridge_signal_listener
2790 atk_bridge_window_event_listener) Tidy debug code
2792 2002-05-02 Marc Mulcahy <marc.mulcahy@sun.com>
2794 * libspi/accessible.c (impl_accessibility_accessible_get_role_name):
2795 Fixed handling for NULL return value from ATK.
2797 * libspi/action.c libspi/component.c libspi/editabletext.
2798 libspi/hyperlink.c libspi/hypertext.c image.c libspi/selection.c
2799 libspi/stateset.c libspi/table.c libspi/text.c libspi/value.c:
2800 Removed redundant casts.
2802 * libspi/table.c (impl_getSelectedRows, impl_getSelectedColumns):
2803 Fixed off by one bug.
2805 *libspi/text.c: removed impl_getRowColAtOffset (unimplemented
2806 function not present in idl)
2808 2002-05-02 jacob berkman <jacob@ximian.com>
2810 * atk-bridge/Makefile.am: make atk-bridge a real module
2812 2002-04-26 Radek Doulik <rodo@ximian.com>
2814 * libspi/stateset.c (spi_init_state_type_tables): fix size of
2815 atk_state_types table
2817 2002-04-22 jacob berkman <jacob@ximian.com>
2820 * libspi/Makefile.am: add deps on the built files to help
2821 automake, and don't version the ORBit typelib
2823 2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
2825 * cspi/cspi-lowlevel.h cspi/spi-impl.h cspi/spi-listener.h
2826 cspi/spi-private.h cspi/spi-roletypes.h cspi/spi-statetype.h
2827 cspi/spi.h cspi/spi_accessible.c cspi/spi_action.c
2828 cspi/spi_application.c cspi/spi_component.c cspi/spi_editabletext.c
2829 cspi/spi_hyperlink.c cspi/spi_hypertext.c cspi/spi_image.c
2830 cspi/spimain.c cspi/spi_selection.c cspi/spi_streamablecontent.c
2831 cspi/spi_table.c cspi/spi_text.c cspi/spi_value.c
2832 libspi/accessible.h libspi/accessible.h libspi/base.h
2833 libspi/component.h libspi/editabletext.h libspi/hyperlink.h
2834 libspi/hypertext.h libspi/image.h libspi/keymasks.h libspi/libspi.h
2835 libspi/relation.h libspi/remoteobject.h libspi/selection.h
2836 libspi/spi-private.h libspi/statetset.h libspi/table.h
2837 libspi/text.h libspi/util.h libspi/value.h util/mag_client.c
2838 util/mag_client.h util/mag_control.c util/mag_image.c
2839 util/mag_image.h util/magnifier.c util/magnifier.h:
2840 Add missing file headers; standardize existing ones
2842 2002-04-18 Marc Mulcahy <marc.mulcahy@sun.com>
2844 * atk-bridge/bridge.c: Added window event support.
2846 2002-04-18 Michael Meeks <michael@ximian.com>
2848 * libspi/relation.c (impl_getNTargets): impl.
2849 (impl_getTarget): impl.
2851 * libspi/Makefile.am: fix stateset install.
2853 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2856 Started putting useful info in this file.
2858 2002-04-17 Marc Mulcahy <marc.mulcahy@sun.com>
2860 * atk-bridge/bridge.c:
2861 Propagate state-changed notifications to ATs
2863 * cspi/spi_registry.c: update docs to reflect actual behavior of
2864 state-change events.
2866 2002-04-17 Bill Haneman <bill.haneman@sun.com>
2869 Incremented version to 0.12.1
2871 * util/mag_client.h:
2872 Add missing declaration for magnifier_exit,
2873 used by mag_control.c - Forte compiler didn't like
2874 the implicit redeclaration of the function :-(
2877 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2880 Revved version to 0.12 due to API change (see below).
2882 * cspi/spi-roletypes.h:
2883 removed (obsolete) SPI_ROLE_FOCUS_TRAVERSABLE
2884 definition from the inline docs, and added docs
2885 for SPI_ROLE_LAST_DEFINED.
2888 * cspi/spi_streamablecontent.c:
2889 Added missing seek_type parameter to
2890 (so far unused) method,
2891 AccessibleStreamableContent_seek().
2892 [ RT approval JodyG. ]
2895 Fixed docs for SPI_createAccessibleKeystrokeListener.
2897 * cspi/spi_registry.c:
2898 Fixed docs for SPI_KEYSET_ALL_KEYS.
2900 * docs/reference/cspi/at-spi-cspi-sections.txt:
2901 Added a number of missing APIs to SECTIONS.
2903 2002-04-16 Bill Haneman <bill.haneman@sun.com>
2905 * registryd/Makefile.am:
2907 * cspi/bonobo/Makefile.am:
2908 Add $(X_LIBS) to makefiles.
2910 2002-04-15 Bill Haneman <bill.haneman@sun.com>
2913 Revved version to 0.11.
2915 * libspi/component.c:
2916 Added implementation for grabFocus.
2918 * idl/Accessibility_Component.idl
2919 (Accessibility_Component_grabFocus):
2920 Made this method return boolean to indicate success or failure, to
2921 be consistent with cspi and the corresponding ATK method.
2923 * idl/Accessibility_Selection.idl
2924 (Accessibility_Selection_selectAll) :
2925 Made these methods return boolean to indicate success or
2926 failure, to be consistent with cspi and the corresponding ATK methods.
2928 * idl/Accessibility_EditableText.idl
2929 (Accessibility_EditableText_setTextContents,
2930 Accessibility_EditableText_insertText,
2931 Accessibility_EditableText_cutText,
2932 Accessibility_EditableText_deleteText,
2933 Accessibility_EditableText_pasteText):
2934 Made these methods return boolean to indicate
2937 * cspi/spi_editabletext.c:
2938 Made these methods return booleans.
2940 * libspi/selection.c:
2941 * libspi/component.c:
2942 * libspi/editabletext.c:
2943 Connected the boolean returns from ATK
2944 to the server-side code referenced above.
2946 2002-04-14 Bill Haneman <bill.haneman@sun.com>
2948 * idl/Accessibility_Table.idl: Added missing methods,
2949 Accessibility_Table_addRowSelection,
2950 Accessibility_Table_addColumnSelection,
2951 Accessibility_Table_removeRowSelection,
2952 Accessibility_Table_removeColumnSelection.
2955 Added C wrappers for above IDL:
2956 AccessibleTable_addRowSelection,
2957 AccessibleTable_addColumnSelection,
2958 AccessibleTable_removeRowSelection,
2959 AccessibleTable_removeColumnSelection.
2962 Added server-side implementation code for IDL above, connecting
2963 to pre-existing ATK api.
2965 2002-04-13 Marc Mulcahy <marc.mulcahy@sun.com>
2967 * idl/Accessibility_State.idl: Made StateSet inherit from BonoboUnknown.
2969 * libspi/accessible.c: Added implementation fo
2970 Accessibility_Accessible_get_state.
2972 * libspi/libspi.h: Added stateset.h to the list of includes.
2974 * libspi/stateset.c: Fixed broken implementation.
2976 2002-04-13 Bill Haneman <bill.haneman@sun.com>
2979 Added implementation code for Accessibility_Magnifier_exit ().
2981 * util/mag_control.c:
2982 Added test code for above method; you can
2983 now kill an existing magnifier via
2984 ./mag_control q, from the util directory.
2986 * test/key-listener-test.c:
2988 Added a new test, for our key listener API.
2990 2002-04-11 Bill Haneman <bill.haneman@sun.com>
2992 * test/app.c, test/keysynth-demo.c:
2994 Replace use of snprintf with g_snprintf.
2995 (fix for bugzilla 78249)
2997 2002-03-27 Michael Meeks <michael@ximian.com>
3001 * util/Makefile.am (INCLUDES): fix.
3002 (DONT_DIST_SOURCE): don't distribute the
3005 * libspi/Makefile.am (dist-hook): ditto.
3007 2002-03-27 Padraig O'Briain <padraig.obriain@sun.com>
3009 * libspi/hypertext.c:
3010 Fix warnings when yelp is used with atk-bridge
3012 2002-03-21 Michael Meeks <michael@ximian.com>
3014 * libspi/application.c (spi_application_new):
3015 use spi_accessible_construct so we use the AtkObject
3018 2002-03-19 Michael Meeks <michael@ximian.com>
3020 * registryd/registry.c (desktop_remove_application),
3021 (desktop_add_application): clean coding style.
3023 * registryd/desktop.c (spi_desktop_remove_application),
3024 (spi_desktop_add_application): kill re-enterency hazards.
3025 (spi_desktop_dispose): remove bogus redundant cast
3026 obscuring bug; fix bug too.
3027 (spi_desktop_init): make the desktop object immortal.
3029 2002-03-16 Bill Haneman <bill.haneman@sun.com>
3032 Added a #define-guarded tree-traversal step
3033 when enumerating the apps (diagnostic tool).
3035 2002-03-15 Bill Haneman <bill.haneman@sun.com>
3037 * idl/Accessibility_Role.idl:
3038 Added ROLE_DRAWING_AREA which seemed to be missing from the
3041 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3043 * cspi/spi-roletypes.h cspi/spi_accessible.c
3044 idl/Accessibility_Role.idl libspi/accessible.c: synched up role
3047 * registryd/desktop.c registryd/desktop.h registryd/registry.c:
3048 Added signals to SpiDesktop and callbacks in SpiRegistry to notify
3049 AT when applications are added and removed from the desktop. This
3050 reverts the previous broken implementation using the backing
3051 AtkObject for the SpiDesktop.
3053 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3055 * registryd/desktop.c: emit the "children-changed::add" and
3056 "children-changed::remove" signals on the backing ATK object for
3057 the desktop so AT can tell when applications are started and shut
3060 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3062 * cspi/spi_accessible.c: Made role names freeable with SPI_freeString ()
3064 2002-03-14 Marc Mulcahy <marc.mulcahy@sun.com>
3066 * libspi/stateset.c: implemented Accessibility_StateSet_compare ()
3068 * cspi/spi_accessible.c: Implemented c bindings for stateset support
3070 * cspi/state-types.h: synched with IDL and ATK
3072 2002-03-13 Bill Haneman <bill.haneman@sun.com>
3074 * libspi/accessible.c
3075 (impl_accessibility_accessible_get_child_at_index):
3076 Change return value for g_return_if_fail ()
3077 to CORBA_OBJECT_NIL instead of "0" (!)
3079 * registryd/Makefile.am:
3080 * registryd/Accessibility_Register.server.in:
3081 Changed name of executable, "registryd",
3082 to something more informative:
3085 2002-03-13 Michael Meeks <michael@ximian.com>
3087 * atk-bridge/bridge.c (atk_bridge_init): don't register
3088 if we're in a bonobo-component, rather than a bonobo app.
3090 2002-03-13 Michael Meeks <michael@ximian.com>
3092 * atk-bridge/bridge.c (gtk_module_init): split
3093 out body to (atk_bridge_init): here, since otherwise
3094 we get symbol conflicts and oddness when invoked
3095 from (gnome_accessibility_module_init): here (upd.)
3097 2002-03-11 Bill Haneman <bill.haneman@sun.com>
3100 New file. Explicitly allow "build sheriff" putbacks provided
3101 they are tested on Solaris.
3103 * docs/reference/cspi/Makefile.am:
3104 Added '-' to the "cp" command for index.sgml.
3105 ("patch by thomasvs, soon coming to a GUADEC near you")
3108 Incremented version number (0.9.0) for new release.
3109 Changed macro that checks for popt, to better detect
3110 obsolete versions of popt.
3113 Added X_LIBS to AC_SUBST, for applications
3114 that call Xlib API directly.
3117 2002-03-07 Bill Haneman <bill.haneman@sun.com>
3120 Include gdk_pixbuf_x11-2.0 in UTILS_LIBS.
3123 Fix regression caused by hard-coding major
3124 version of gdk_pixbuf_x11; now use $(UTILS_LIBS)
3127 * test/test-simple.c (test_editable_text),
3128 (test_test): revert previous change (error was
3129 a regression in gail which is now fixed).
3131 2002-03-04 Michael Meeks <michael@ximian.com>
3133 * test/test-simple.c (test_editable_text),
3134 (test_text): pass G_MAXINT instead of '-1' for
3135 whole string - is this a good thing !?
3137 * cspi/spi_accessible.c
3138 (Accessible_getRelationSet): fix crasher bug
3139 overwriting the end of the array.
3141 * test/test-simple.c (validate_accessible): free,
3142 not g_free returned relation set.
3144 2002-02-26 Marc Mulcahy <marc.mulcahy@sun.com>
3146 * libspi/stateset.c libspi/stateset.h libspi/Makefile.am:
3147 implemented stateset support
3149 * idl/Accessibility_State.idl: Made necessary changes to
3150 the IDL to support state sets.
3152 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3154 * registryd/deviceeventcontroller.c:
3155 Added implementation for generateMouseEvent.
3157 * cspi/spi_registry.c:
3158 Connected new implementation for generateMouseEvent
3161 2002-02-12 Bill Haneman <bill.haneman@sun.com>
3164 Incremented revision (but no change in public API
3165 outside of 'utils', which are not installed public yet.)
3167 * libspi/component.c:
3168 Changed to use atk_component API for layers and
3169 mdi_zorder, instead of deprecated atk_object API.
3171 Magnification Utility Enhancements:
3174 Added implementation of createZoomRegion, clearAllZoomRegions,
3175 resizeZoomRegion. Added new commandline argument
3176 "--no-initial-region". Note that clearAllZoomRegions doesn't
3177 unmap the old '0' region as it should (yet), and the other
3178 methods only work when creating/resizing a single region,
3179 which is "region 0".
3180 (Code for multiple region support will be added later.)
3183 Now we raise the magnifier window each time it's refreshed;
3184 this will help keep it on top.
3186 * util/mag_client.h:
3187 Added simple wrappers for above, used by mag_control.
3188 For general use, it's recommended to use the bonobo magnifier
3189 control API directly instead of using these wrappers.
3192 Moved ZoomRegionData from magnifier.c to this file.
3194 * util/mag_control.c:
3195 Added some code to exercise new IDL implementations.
3197 2002-02-06 Marc Mulcahy <marc.mulcahy@sun.com>
3199 * libspi/text.c: Provide implementation for getAttributes.
3201 2002-02-04 Bill Haneman <bill.haneman@sun.com>
3204 Incremented revision.
3206 * test/test-simple.c:
3207 Replaced use of deprecated g_main_iteration with
3208 g_main_context_iteration.
3210 2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
3213 Incremented revision for desktop alpha 2.
3215 2002-01-28 Mark McLoughlin <mark@skynet.ie>
3217 * libspi/remoteobject.[ch]: make RemoteObject and interface rather
3220 * test/simple-at.c: include netinet/in.h.
3222 2002-01-24 Mark McLoughlin <mark@skynet.ie>
3224 * cspi/spi_accessible.c: (Accessible_getRelationSet):
3225 use NULL, not CORBA_OBJECT_NIL.
3227 * libspi/accessible.c:
3228 (impl_accessibility_accessible_get_relation_set):
3229 allocate the sequence correctly.
3231 * libspi/remoteobject.h: kill spi_remote_object_new.
3233 * test/test-simple.c: (validate_accessible): add code
3234 to test relation sets, now all we need is to figure
3235 out how to excercise this code path :/
3237 2002-01-18 Michael Meeks <michael@ximian.com>
3239 * test/test-simple.c
3240 (key_listener_cb): consume the key.
3241 (test_keylisteners): update.
3242 (main): wait for any pending unrefs on events.
3244 * registryd/deviceeventcontroller.c
3245 (spi_controller_update_key_grabs): only re-issue the
3246 grab on a key release.
3247 (spi_device_event_controller_forward_key_event):
3248 refresh the keygrabs before we notify the listeners,
3249 to reduce the X ungrab / re-grab race.
3250 (spi_controller_register_with_devices): remove
3251 XSelectInput - we do that with the gdk_window_ call.
3252 (_spi_controller_device_error_handler): return a value.
3253 s/GDK_DISPLAY/spi_get_display/
3255 2002-01-17 Michael Meeks <michael@ximian.com>
3257 * registryd/deviceeventcontroller.c
3258 (_deregister_keygrab): don't blow out the later
3261 * test/test-simple.c (test_keylisteners): do a
3262 more intelligent validation.
3264 2002-01-14 Michael Meeks <michael@ximian.com>
3266 * atk-bridge/bridge.c
3267 (gnome_accessibility_module_init),
3268 (gnome_accessibility_module_shutdown): impl.
3269 (gtk_module_init): protect vs. double inits.
3270 (add_signal_listener): impl.
3271 (spi_atk_bridge_state_event_listener): kill
3272 (deregister_application): split out of
3273 (spi_atk_bridge_exit_func): here.
3275 2002-01-18 Bill Haneman <bill.haneman@sun.com>
3278 Added caret tracking when using magnifier, and
3279 now use text bounds for focus tracking of text elements, rather than
3280 the component bounds - this is helpful for short text fields in long
3281 table cells, at high magnification.
3283 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3285 * registryd/deviceeventcontroller.c:
3286 Regression fix for keylistener de-registration; global keygrabs
3287 were not being released when deregisterKeystrokeListener was
3288 called in cspi, since
3289 Accessibility_DeviceEventController_deregisterKeystrokeListener
3290 was called with a zero-length keyset. That is because the cspi
3291 method, SPI_deregisterKeystrokeListener, does not take a keyset
3292 parameter but instead should remove all the key grabs held be a
3294 The code in impl_deregister_keystroke_listener was changed to copy
3295 the keylist from the listener instance previously registered with
3296 the DeviceEventController before releasing the grabs.
3298 * registryd/registry.c:
3299 * registryd/deviceeventcontroller.c:
3300 * libspi/spi-private.h:
3302 Changed spelling of "re-enterant" to "re-entrant" globally.
3304 2002-01-16 Bill Haneman <bill.haneman@sun.com>
3306 * test/test-simple.c:
3307 Changed key listeners test - the test was slightly mis-using the
3308 (admittedly poorly documented) SPI_generateKeyboardEvent API.
3309 It now uses '=' as the key event listened to and generated,
3310 relying on a keysym match rather than assuming that keycode 33
3311 is always equal to keysym '!'.
3313 2002-01-15 Bill Haneman <bill.haneman@sun.com>
3316 Changed simple-at to use a specific keyset, rather than
3317 SPI_KEYSET_ALL_KEYS - this helps minimize clashes with the window
3318 manager, desktop, etc.
3320 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3322 * registryd/deviceeventcontroller.c:
3323 Replaced standard X error handler with a special handler that
3324 is non-fatal for failed keygrabs. This works around
3325 problems with keygrab clashes sometimes observed on
3327 Re-instated SPI_DEVICE_TYPE_MOUSE in enum (didn't reinstate
3328 mouse handling code as yet).
3330 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3333 Incremented revision for desktop alpha release.
3336 Fixed a couple of the more glaring errors (still not
3339 2002-01-11 Michael Meeks <michael@ximian.com>
3341 * registryd/deviceeventcontroller.c
3342 (spi_device_event_controller_forward_key_event): kill
3343 XUngrabKey / XKeyGrab race.
3344 (spi_controller_grab_keyboard): rename to
3345 (spi_controller_update_key_grabs): this, and deal
3346 with incremental adding / removing grabs more
3348 (_register_keygrab): ensure we're not pending a remove.
3349 (spi_grab_mask_free): impl.
3350 (spi_controller_register_global_keygrabs): split out
3352 (handle_keygrab): impl.
3353 (_deregister_keygrab): impl.
3354 (spi_controller_deregister_global_keygrabs): impl.
3355 (spi_controller_update_key_grabs): re-issue the grab if
3356 we just recieved a notification.
3358 * test/test-simple.c (key_listener_cb): remove debug.
3360 * registryd/deviceeventcontroller.c
3361 (spi_controller_register_device_listener): after
3362 registering a global keygrab, actualy register it !
3363 don't wait for a timeout; doh !
3365 * registryd/deviceeventcontroller.[ch]: s/DeviceEvent/DE/
3366 to make it more readable / manipulable.
3367 s/grabmask/grab_mask/ s/refcount/ref_count/
3368 s/keyval/key_val/ s/modmask/mod_mask
3370 2002-01-08 Michael Meeks <michael@ximian.com>
3372 * registryd/deviceeventcontroller.c
3373 (spi_controller_register_with_devices): use gdk calls to
3375 (global_filter_fn): implement the filter.
3376 (spi_device_event_controller_check_key_event): rename to
3377 (spi_device_event_controller_forward_key_event): this & upd.
3378 (spi_get_display): replace with GDK_DISPLAY.
3380 * registryd/deviceeventcontroller.c
3381 (spi_controller_deregister_device_listener): unroll into
3382 (impl_deregister_keystroke_listener): here to simplify.
3383 (spi_controller_register_global_keygrabs): split cut and
3384 paste (!) out into (_register_keygrab): here, shorter & sweeter.
3385 (spi_controller_deregister_device_listener): remove.
3386 (impl_register_mouse_listener): remove, no mouse listener
3387 support in at-spi-1.0
3389 * registryd/registry.c
3390 (_device_event_controller_hook): kill.
3391 (spi_registry_init): upd.
3393 * registryd/deviceeventcontroller.c
3394 (spi_device_event_controller_class_init): upd.
3395 (spi_check_key_event): merge into.
3396 (spi_device_event_controller_check_key_event):
3397 here and kill strange static ev init, don't leak
3398 the x_event - nor dynamicaly allocate it.
3400 * registryd/registry-main.c (main): re-direct
3401 timeout to remove strange vtable mess.
3403 * registryd/deviceeventcontroller.c
3404 (remove_listener_cb): impl.
3405 (spi_controller_deregister_device_listener):
3406 fix re-enterancy hazard.
3408 2002-01-07 Michael Meeks <michael@ximian.com>
3410 * registryd/deviceeventcontroller.c
3411 (spi_device_event_controller_new): upd.
3412 (impl_notify_listeners_sync): upd. debug.
3413 (spi_notify_keylisteners): fix re-enterancy hazards,
3414 prettify, remove O(n*n) iteration.
3415 (spi_controller_grab_keyboard): fix iteration.
3416 (spi_check_key_event): re-format to suit coding style.
3417 Clean all the warnings - we're warning free.
3419 * registryd/deviceeventcontroller.h:
3420 * registryd/registry.h: make mutualy referential with
3421 typesafe forward references instead of (!) void pointer
3424 2002-01-11 Michael Meeks <michael@ximian.com>
3426 * cspi/spi_accessible.c (role_names): add a role name
3427 to sync this array with the enum; and make the regression
3430 2002-01-10 Michael Meeks <michael@ximian.com>
3432 * cspi/spi_registry.c (SPI_generateKeyboardEvent):
3433 allow expansion of enumeration & kill warning.
3435 * test/test-simple.c (key_listener_cb): impl.
3436 (test_keylisteners): impl.
3438 * cspi/spi-listener.h: make listener signatures const
3439 on the provided (const) events.
3441 * test/keysynth-demo.c: upd. to const events.
3443 * test/simple-at.c: ditto.
3445 2002-01-11 Bill Haneman <bill.haneman@sun.com>
3448 Rev the version to 0.5 (the previous tarball was named 0.4,
3449 even though the micro number was 3), so we need to rev upwards
3450 again for beta2/"desktop-alpha"
3453 Checked in a demo script, which requires editing before use!
3454 Proceed with caution.
3457 Fixed typo in header which was redefining SPI_ACTION_CLASS.
3459 * cspi/spi_accessible.c:
3460 Add a couple of missing enum initializations, and fix some enum
3463 * cspi/spi_registry.c:
3464 Add comment describing keystring parameter to SPI_generateKeyboardEvent.
3466 * docs/reference/cspi/at-spi-cspi-sections.txt:
3467 Remove/fix a couple of broken document references.
3470 Minor tweaks to the demo. We now (sigh) use Alt-SHIFTLOCK as well
3471 as Alt-Control to listen for commands, since on some systems
3472 Control-Alt may already be grabbed.
3474 2002-01-10 Bill Haneman <bill.haneman@sun.com>
3477 Update version number to 0.4 for Beta2.
3479 * libspi/accessible.c, libspi/accessible.h:
3480 Expose spi_accessible_construct, to enable libgail-gnome
3481 construction from spi_accessible subtype.
3483 * utils/magnifier.c:
3484 Workaround for bug in some non-gnome-compliant window managers
3485 which made magnifier resize improperly.
3487 2002-01-09 Bill Haneman <bill.haneman@sun.com>
3489 * libspi/accessible.c: (spi_accessible_new) :
3490 Move the test for SPI_IS_REMOTE_OBJECT to
3491 spi_accessible_new_return, fixing a bug and compile time warning.
3493 2002-01-08 Michael Meeks <michael@ximian.com>
3495 * registryd/registry.c (parse_event_type): remove strndup.
3497 * libspi/Makefile.am (libspi_la_SOURCES): remove
3498 sources already included in the headers section.
3500 * libspi/util.c: add.
3502 * libspi/spi-private.h: add.
3504 * registryd/registry.c: update to moved list iterators.
3506 2002-01-05 Michael Meeks <michael@ximian.com>
3508 * test/simple-at.c (main): upd. auto-module set to atk-bridge
3510 * test/test-simple.c (main): ditto.
3512 2002-01-04 Michael Meeks <michael@ximian.com>
3514 * libspi/accessible.c (spi_accessible_new): remove 2nd,
3515 redundant construct.
3517 * registryd/registry.c
3518 (get_listener_list): impl.
3519 (impl_accessibility_registry_register_global_event_listener):
3520 re-impl. to simplify using ~, remove dodgy const cast off.
3521 (parse_event_type): constify.
3522 (impl_accessibility_registry_deregister_global_event_listener_all):
3523 re-write, more efficiency and simplicity, kill re-enterancy
3525 (compare_listener_corbaref, compare_corba_objects),
3526 (compare_listener_quarks): define out.
3527 (impl_accessibility_registry_deregister_global_event_listener):
3528 re-write for effiency, and nail re-enterancy hazard.
3529 (impl_accessibility_registry_get_desktop_list): impl.
3530 (re_enterant_list_delete_link): impl.
3531 (re_enterant_list_foreach): impl.
3532 (remove_listener_cb): impl.
3533 (_registry_notify_listeners): kill.
3534 (notify_listeners_cb): impl.
3536 * cspi/spi_registry.c (SPI_freeDesktopList): impl.
3537 (SPI_getDesktopList): impl.
3539 * test/test-simple.c (test_desktop): test the methods.
3541 2002-01-03 Michael Meeks <michael@ximian.com>
3543 * cspi/spi_event.c (SPI_createAccessibleKeySet): dup the
3544 keystrings since we free them
3545 (SPI_freeAccessibleKeySet): in here.
3547 * libspi/accessible.c (spi_accessible_new): kill warning,
3548 wonder what is going on with the constructor here.
3550 2002-03-01 Bill Haneman <bill.haneman@sun.com>
3552 * libspi/accessible.c (spi_accessible_new ()) :
3553 Added check to see if AtkObject is an SpiRemoteObject before
3554 creating an SpiAccessible.
3556 2002-05-01 Bill Haneman <bill.haneman@sun.com>
3558 * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
3559 Enable keygrabs using the Control modifier, now that they are
3560 working properly (they were previously disabled).
3563 Change the command keygrab for this demo to "Control+Alt", so as
3564 to conflict with fewer other key commands on the system; this
3565 means that the quit command for "simple-at" is now "Ctrl-Alt-q".
3567 Removed a pointlessly-chatty keylistener for unshifted keys
3568 (shifted keys are still reported).
3570 2002-02-01 Bill Haneman <bill.haneman@sun.com>
3572 * libspi/remoteobject.h:
3573 * libspi/remoteobject.c:
3574 Added definitions for special AtkObject subtype, required for
3575 support of remote components (specifically, used by BonoboControl
3576 accessibility implementation).
3578 2002-01-02 Marc Mulcahy <marc.mulcahy@sun.com>
3580 * cspi/spi.h: synched relation types with ATK
3582 * cspi/spi_accessible.c: Added implementations of
3583 AcccessibleRelation_* methods
3585 * idl/Accessibility_Relation.idl: added getRelationTypeName
3586 method. Synched known relation types with ATK. Allowed for
3587 relation type extension with the RELATION_EXTENDED type.
3589 * libspi/relation.c: Provided implementations for
3590 AccessibleRelation methods.
3592 2002-01-01 Bill Haneman <bill.haneman@sun.com>
3594 API tweaks for today's API 'freeze'.
3597 Added placeholder functions to allow future compatible expansion
3598 of the IDL interfaces.
3600 * idl/Accessibility_Registry.idl:
3601 Changed generateKeyEvent to generateKeyboardEvent. Changed
3602 signature of this method to accept an optional keystring in
3603 parameter (for complex text input synthesis) and changed use of
3604 simple 'boolean' parameter in registerKeystrokeListener to a
3605 struct, EventListenerMode.
3607 * cspi/spi_accessible.c:
3609 * cspi/spi_streamablecontent.c:
3610 Added references to AccessibleStreamableContent interface, and
3611 definition and implementation of AccessibleStreamableContent
3614 * cspi/spi_registry.c:
3616 Changed generateKeyEvent API to generateKeyboardEvent,
3617 taking a new (optional) keystring parameter to support complex
3622 Renamed directory (to better reflect its actual purpose, bridging
3623 from at-spi to ATK). The .so module is also now named
3626 * idl/Accessibility_Hypertext.idl:
3627 * libspi/accessible.c:
3628 * libspi/hypertext.h:
3629 * libspi/hypertext.c:
3630 Changed Accessibility_Hypertext to *not* derive from
3633 * cspi/spi_registry.c:
3634 Added list of legal event type names for 'window' events, which
3635 completes the registry event API.
3637 2001-12-22 Marc Mulcahy <marc.mulcahy@sun.com>
3639 * at-bridge/bridge.c: Added registration for separate
3640 "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
3641 signals. If either of the first two parameters to the generic
3642 bridge signal handler are ints, they are passed on as event
3643 details. This allows an AT to determine what text was inserted.
3645 2001-12-21 Bill Haneman <bill.haneman@sun.com>
3647 * registryd/deviceeventcontroller.c:
3648 Fixed regressions in generateKeyEvent caused by the removal of
3649 gdk_init from registryd; we now use pure X calls to connect to the
3650 display, which makes sense because deviceeventcontroller already
3651 uses a fair bit of X API (should eventually be migrated to a
3652 'portability layer').
3654 * registryd/desktop.c:
3655 Fixed minor regression in spi_desktop_init, changed the way the
3656 desktop name is being set to work with new spi_base API
3657 (gobject-based, rather than AtkObject-based).
3659 * registryd/Makefile.am:
3660 Minor revision of makefile to use XTST_LIBS variable rather than
3661 hard-wiring the Xtst LD_ADD element.
3663 * test/keysynth-demo.c:
3664 Tweaked an output message; added initialization of the
3665 'keystrings' member of the "switch listener" key_set.
3667 * libspi/relation.c:
3668 Squashed compile-time warning.
3670 * libspi/accessible.c:
3671 Cosmetic and formatting fixes, renamed a static method.
3673 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
3675 * libspi/accessible.c
3677 * libspi/application.c
3680 * libspi/component.c
3681 * libspi/editabletext.c
3682 * libspi/hyperlink.c
3683 * libspi/hypertext.c
3685 * libspi/selection.c
3689 * registryd/desktop.c:
3690 Changed SpiBase to contain a GObject pointer rather than an AtkObject
3692 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3694 * idl/Accessibility_Registry.idl:
3695 Added boolean member 'is_text' to DeviceEvent. This is for the
3696 use of key events, and helps prevent ambiguity between composed
3697 key strings and keysym names, since both may potentially be
3698 returned in the 'event_string' member.
3700 * at-bridge/bridge.c:
3701 * registryd/deviceeventcontroller.c:
3702 Use the 'is_text' member when notifying device event listeners.
3703 Knon issue: composed characters are not dealt with correctly by
3704 the global key listener implementation yet.
3706 2001-12-17 Bill Haneman <bill.haneman@sun.com>
3708 * at-bridge/bridge.c:
3709 Namespaced local static methods to spi_atk_bridge_* where
3710 previously named bridge_*, and spi_* elsewhere.
3712 * at-bridge/bridge.c:
3713 * cspi/bonobo/cspi-bonobo-listener.c:
3714 Added demarshalling/conversion for string member of
3715 Accessibility_DeviceEvent to AccessibleKeystroke.
3717 * registryd/deviceeventcontroller.c:
3718 Added code to fill the Accessibility_DeviceEvent key string value
3719 member for global key events (i.e. from XGrabKey), to match
3720 behavior of Accessibility_DeviceEvent from the toolkit key events
3721 from the bridge. Fixed timestamp in global key event notifications.
3724 Added printout of key event's string value to
3725 report_ordinary_key_event, for demo/debugging purposes.
3727 2001-12-15 Bill Haneman <bill.haneman@sun.com>
3729 * idl/Accessibility_Registry.idl:
3730 Removed Accessibility_KeyStroke structure in favor of generic
3731 Accessibility_DeviceEvent structure.
3732 Changed Accessibility_ControllerEventMask from a struct to an
3735 * at-bridge/bridge.c:
3736 Changed APIs to use DeviceEvent structure as above, and removed
3737 bogus casting between these event structures.
3739 * cspi/spi-listener.h:
3740 Added keystring member of AccessibleKeystroke structure, to enable
3741 matching on event "names" rather than only hardware codes and
3745 Added keystrings member of AccessibleKeySet struct, to allow
3746 matching on event names (as above).
3747 Added declarations for SPI_createAccessibleKeySet and
3748 SPI_freeAccessibleKeySet. Due to changes in libspi, we now pass
3749 event modmasks directly as unsigned ints rather than structs with
3750 refcounts, in the DeviceEventController methods.
3752 * cspi/spi_registry.c:
3753 Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
3755 * cspi/spi-roletypes.h:
3756 Added documentation of newly added SPI Roles.
3758 * cspi/bonobo/cspi-bonobo-listener.c:
3759 Changes in support of API changes above.
3761 * libspi/accessible.c:
3762 Converted APIs to use DeviceEvent structure (see IDL changes
3765 * registryd/deviceeventcontroller.c:
3766 Added DEControllerGrabMask structure to track keygrabs not only by
3767 modmask but by keyset as well; this allows us to do "global"
3768 (i.e. X) keygrabs on a per-key or keyset basis rather than always
3769 grabbing on AnyKey and then filtering after-the-fact.
3770 Bugfixes for event filtration mean that we don't get false matches
3771 on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
3773 * registryd/deviceeventcontroller.c:
3774 Namespaced a number of static methods to use spi_ prefix. Major
3775 revision to internals of global (i.e. X) key grabs.
3777 * registryd/deviceeventcontroller.h:
3778 Removed keymask_list and added keygrabs_list to
3779 SpiDeviceEventController struct.
3782 Added use of SPI_createAccessibleKeySet API when creating a
3783 listener for only one key. Attach a listener to "shift spacebar
3784 SPI_KEY_RELEASE" as a demonstration. Changed (incorrect) usage of
3785 X key event names to SPI key event names, so that listeners are
3786 registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
3788 * test/keysynth-demo.c:
3789 Changed (incorrect) use of X key event names (KeyPressed,
3790 KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
3793 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3795 * libspi/accessible.c:
3796 Convert all AtkRole enumerations to Accessibility_Role enums when
3797 getting a role from an AtkObject.
3799 * cspi/spi_accessible.c:
3800 Complete the conversion of Accessibility_Role enums at runtime to
3801 AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
3802 role enums correctly match those given in spi-roletypes.h.
3803 Re-synchronize the local names list for AccessibleRole_getName ().
3804 AccessibleRole_getName is now deprecated, since it duplicates the
3805 more reliable Accessible_getRoleName.
3806 Added some role types from Accessibility_Role.idl.
3808 * idl/Accessibility_Role.idl:
3809 Added some role types used by AtkRole.
3811 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3814 * cspi/spi_registry.c:
3816 * cspi/cspi-bonobo-listener.c:
3817 Namespaced all methods that did not begin with an "SPI_" or
3818 "Accessible" prefix to "SPI_".
3821 Homogenized internal function namespace to "cspi_" for statics.
3824 Patched tests to use the new CSPI API.
3826 * docs/reference/cspi/at-spi-cspi-sections.txt:
3827 Updated docs to reflect namespace changes, and added a number of
3828 methods to the documentation.
3830 * registryd/registry.c:
3831 Changed use of strings and string hashes in listener event
3832 matching and parse_event_string to use GQuark, which is guaranteed
3835 * registryd/registry.h:
3836 Squashed annoying warning.
3838 * idl/Accessibility_Role.idl:
3839 Extended range of available Accessibility_Role values.
3841 * cspi/spi_accessible.c:
3842 Re-ordered role names.
3844 2001-12-12 Bill Haneman <bill.haneman@sun.com>
3846 * idl/Accessibility_Value.idl:
3847 Revert use of union back to CORBA_double, since the double type is
3848 more efficient and can contain the other types without loss of
3851 * idl/Accessibility_Accessible.idl:
3852 Added method Accessibility:Accessible:getRoleName, to complement
3853 Accessibility:Accessible:getRole.
3855 * cspi/spi_accessible.c:
3857 Added C binding for above, Accessible_getRoleName (), and changed
3858 signature of Accessible_getRole () to return an AccessibleRole.
3860 * cspi/spi-roletypes.h:
3861 Changed AccessibleRole_getName to return a char * instead of a
3862 const char *. This method is now at least temporarily deprecated
3863 in favor of asking Accessibles for their RoleNames directly.
3866 Revert to match Accessibility_Value.idl;
3870 Change signature of AccessibleValue methods to use double rather
3874 * cspi/spi_accessible.c:
3875 Changed Accessible_getRole to return an AccessibleRole enum rather
3876 than a UTF-8 string. The UTF-8 string can still be obtained via
3877 AccessibleRole_getName ().
3879 * test/test-simple.c:
3880 Add test_action. Small fixup to match API change to Accessible_getRole.
3883 Bugfix for get_action_from_servant ().
3885 2001-12-11 Michael Meeks <michael@ximian.com>
3887 * libspi/libspi.h: remove registry.h and
3888 desktop.h, deviceeventcontroller.h
3890 * libspi/Makefile.am: remove registry.[ch],
3891 desktop.[ch], deviceeventcontroller.[ch]
3893 * registryd/Makefile.am: add registry.[ch],
3894 desktop.[ch], rename registryd.c to registry-main.c.
3895 add deviceeventcontroller.[ch]
3897 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3900 Replace setenv() call with putenv ().
3902 * libspi/component.c:
3903 Bugfix in AccessibleComponent_getExtents (),
3906 2001-12-11 Michael Meeks <michael@ximian.com>
3908 * libspi/image.c (impl_getImageExtents): impl.
3909 (spi_image_class_init): upd.
3912 (AccessibleImage_getImageDescription): fix daft bug
3915 * test/test-simple.c (global_listener_cb): update
3916 to only quit if not --poke
3917 (main): catch --poke.
3918 (validate_accessible): upd. dumping, call test_image
3921 * libspi/Makefile.am (IDL_DEPS): fixup the IDL
3924 * idl/Accessibility.idl: update all IDL includes.
3926 * idl/*.idl - rename to namespace - this sucks, blame
3927 mjs' bad decision for oafd.
3929 * test/test-simple.c (create_test_window): add more tests.
3930 (create_tree): split this out.
3931 (validate_accessible): bugfix.
3933 2001-12-11 Michael Meeks <michael@ximian.com>
3935 * cspi/bonobo/cspi-bonobo-listener.c:
3936 (cspi_kestroke_listener_unref),
3937 (cspi_event_listener_unref): impl. undoing previous
3938 homenous environment - for Bill.
3940 * cspi/spi_table.c (long_seq_to_array): use
3943 * cspi/spi_main.c: split out all bonoboish bits into
3946 * cspi/spi-impl.h: upd. typedefs.
3948 * cspi/spi_registry.c: update to lowlevel API,
3949 return booleans to indicate success in some places.
3951 * cspi/spi_event.c: update to lowlevel API.
3953 * cspi/bonobo/Makefile.am: add.
3955 * cspi/bonobo/cspi-lowlevel.h: add
3957 * cspi/bonobo/cspi-bonobo.c: add
3959 * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
3961 * cspi/Makefile.am: remove spi-listener-impl.[ch],
3962 (SUBDIRS): add bonobo, link in the libs.
3964 * cspi/spi-util.c: kill this file.
3966 * TODO: merge in my bits.
3968 2001-12-11 Michael Meeks <michael@ximian.com>
3970 * test/test-simple.c (test_value, test_table, main):
3971 remove unused variables causing warnings.
3973 * configure.in: cleanup checks - require gail.
3975 2001-12-11 Bill Haneman <bill.haneman@sun.com>
3978 Changed Value interface to use SValue (scalars) rather than
3979 assuming all values are floats. This allows floats, doubles,
3980 longs, shorts, and unsigned values to be manipulated.
3981 Introduced Accessibility:SValue union.
3984 Updated to use new API above, and to work correctly with GValues
3985 of different types in AtkValue.
3988 Updated to use new API above. cspi's API is as yet unchanged.
3991 Updated the Value revision action item.
3993 2001-12-10 Bill Haneman <bill.haneman@sun.com>
3995 * test/test-simple.c:
3996 Added test_table (GtkTreeView widget in test window to follow).
3997 Un-commented test_value, added GtkRange widget.
3998 Added GtkTreeView widget with GtkListStore. It passes regression
3999 test but leaks one SPI object for some reason.
4002 Fixed bug in impl__set_currentValue.
4004 2001-12-10 Michael Meeks <michael@ximian.com>
4006 * cspi/spi_text.c: audit for exception handling,
4007 tolerating NULL object references safely etc.
4009 * cspi/spi_value.c: ditto.
4011 * cspi/spi_table.c (AccessibleTable_getSummary),
4012 (AccessibleTable_getAccessibleAt),
4013 (AccessibleTable_getRowHeader),
4014 (AccessibleTable_getColumnHeader),
4015 (AccessibleTable_getCaption): fix bugs hidden by
4017 (long_seq_to_array): impl.
4018 (AccessibleTable_getSelectedRows),
4019 (AccessibleTable_getSelectedColumns): use it.
4021 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4024 Added a TODO list (rough and short for now).
4026 * cspi/spi_hyperlink.c:
4027 * cspi/spi_hypertext.c:
4028 Fixed macro name typos, and remove use of obsolete macro in
4029 AccessibleHyperlink_getLink.
4031 * cspi/spi_action.c:
4032 * cspi/spi_accessible.c:
4033 * cspi/spi_application.c:
4034 * cspi/spi_component.c:
4035 * cspi/spi_selection.c:
4038 Documentation fixes (removed return values from ref/unref methods).
4040 2001-12-10 Michael Meeks <michael@ximian.com>
4042 * cspi/spi_action.c: audit for exception handling,
4043 tolerating NULL object references safely etc.
4045 * cspi/spi_accessible.c: ditto.
4047 * cspi/spi_component.c: ditto.
4049 * cspi/spi_editabletext.c: ditto.
4051 * cspi/spi_hyperlink.c: ditto.
4053 * cspi/spi_hypertext.c: ditto.
4055 * cspi/spi_image.c: ditto.
4057 * cspi/spi_selection.c: ditto.
4059 2001-12-10 Michael Meeks <michael@ximian.com>
4061 * configure.in: use cspi/libspi.pc.in instead.
4063 * Makefile.am (pkgconfig_DATA): upd. to match.
4065 * test/simple-at.c (report_focus_event): kill hacks around
4066 bad return values, use putenv not setenv
4068 * libspi/desktop.c (impl_desktop_get_child_at_index): don't
4069 fire ChildGone - I killed it.
4071 * libspi/component.c
4072 (impl_accessibility_component_get_extents): remove
4075 * idl/Accessible.idl: kill ChildGone exception.
4077 * cspi/*.[ch]: kill int return from ref / unref.
4079 * cspi/spi_main.c (cspi_object_add_check): fold into
4080 (cspi_object_add): here.
4082 * cspi/spi_component.c (AccessibleComponent_getExtents):
4083 handle exceptions elegantly.
4085 * cspi/spi-private.h (cspi_check_ev_return),
4086 (cspi_return_if_fail): impl.
4088 * cspi/spi_accessible.c: use extensively.
4089 (AccessibleStateSet_equals): add direct compare check.
4091 * cspi/spi_selection.c: tolerate NULL objs, and check
4092 exceptions before return.
4094 * cspi/spi-util.c (cspi_warn_ev): rename to
4095 (cspi_check_ev): this & don't pass ev in; no point.
4097 2001-12-10 Michael Meeks <michael@ximian.com>
4099 * test/test-simple.c: use putenv not setenv
4100 (get_environment_vars): more chatty if you're not using
4103 * test/simple-at.c: do the setenv so more people see the
4106 2001-12-10 Bill Haneman <bill.haneman@sun.com>
4108 * libspi/registry.c:
4109 Changed check of CORBA_environment on notification to be a warning
4110 instead of an error for the moment, since we can recover from this
4111 error when caused by a queued notification from a dead app.
4114 Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
4115 used by all current implementors of AtkValue), and coerce to
4116 CORBA_float. (Proper general case fix may require change to Value.idl).
4118 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4122 * cspi/spi_accessible.c:
4123 Documentation fixes: added user_data params to documentation for
4124 listeners and callbacks.
4126 * cspi/spi_accessible.c:
4127 Changed AccessibleStateSet_compare to return a
4128 StateSet rather than return the difference set into a third parameter.
4131 2001-12-09 Bill Haneman <bill.haneman@sun.com>
4134 Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
4135 remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
4139 Remove subdirectory po from SUBDIRS for now.
4141 * at-bridge/bridge.c:
4142 Beefed up a couple of debug printouts.
4143 One-line fix for signal notification name formatting.
4145 * libspi/accessible.c:
4146 Added assertion to spi_accessible_new ().
4148 * libspi/application.c:
4149 Put #ifdef qualifiers around a printf.
4152 Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
4154 * registryd/Makefile.am:
4156 Replaces use of XML_I18N_MERGE_SERVER_RULE with
4157 INTLTOOL_SERVER_RULE macro.
4160 Added an event listener for several ATK signals, for
4161 testing and debugging. Removed a few g_warnings.
4162 Added test output if focussed item implements the Value interface.
4164 * test/test-simple.c:
4165 Added test_value () function (known not to pass at the moment, so
4166 not actually called yet.
4168 2001-12-08 Michael Meeks <michael@ximian.com>
4170 * at-bridge/bridge.c (bridge_focus_tracker),
4171 (emit_eventv): fix the same ref. leak.
4172 (register_atk_event_listeners): don't leak.
4174 * cspi/spi-listener-impl.c (cspi_event): more
4175 protection from client code.
4177 * test/test-simple.c (test_desktop): unref the app.
4179 * test/Makefile.am: upd. TESTS.
4181 * at-bridge/bridge.c (bridge_exit_func): release the registry.
4183 * test/keysynth-demo.c (keysynth_exit): unref the listeners.
4185 * cspi/spi_accessible.c (Accessible_queryInterface): constify.
4187 * cspi/spi_registry.c: constify in strings.
4188 (deregisterGlobalEventListenerAll): don't release the ref.
4190 * cspi/spi.h: start removing redundant / conflicting
4191 gtkdoc comments, making the API readable at a glance :-)
4193 * cspi/spi_event.c (AccessibleEventListener_unref): impl.
4195 * test/keysynth-demo.c (keysynth_exit, main): upd.
4197 * test/simple-at.c (main, simple_at_exit): upd.
4199 * test/test-simple.c (unutterable_horror): kill.
4200 (utterable_normal_derefs): kill.
4201 (main): upd & do a setenv before gtk_init, so that we
4202 can use memprof - and to save the pain of remembering
4203 this, if we're running under memprof - don't exit.
4205 * cspi/spi_main.c (SPI_exit): return exit status
4207 (SPI_event_quit): impl.
4208 (SPI_event_main): simplify.
4209 (cspi_is_gnome_app): kill.
4210 (SPI_init): kill isGNOMEapp arg.
4212 * at-bridge/bridge.c (register_atk_event_listeners):
4213 re-instate the unref.
4214 (bridge_exit_func): don't re-activate the registry,
4215 protect vs. theoretical re-entry, use the
4216 AT_BRIDGE_SHUTDOWN env. var to determine whether to
4217 assert a clean shutdown - for regression tests.
4219 2001-12-08 Abel Cheung <maddog@linux.org.hk>
4221 * configure.in: Comment out dummy i18n support for now,
4222 otherwise it fails to build.
4223 * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
4224 EXTRA_DIST. They are missing in tarball.
4226 2001-12-07 Michael Meeks <michael@ximian.com>
4228 * util/magnifier.c: kill bonobo activation reg. race.
4230 * libspi/component.c
4231 (impl_accessibility_component_get_extents): make it match
4234 * libspi/registry.c (_registry_notify_listeners):
4235 re-remove X headers & reconcile conflicts.
4236 (spi_listener_struct_free): bad conflict resolve.
4237 (impl_accessibility_registry_register_application):
4238 more bad merging fixed.
4239 (impl_accessibility_registry_deregister_application): ditto.
4240 (spi_registry_new): ditto.
4241 (spi_registry_init): don't have an applications field.
4243 [ merge fixups2 branch to here ]
4244 2001-12-07 Michael Meeks <michael@ximian.com>
4246 * test/simple-at.c (report_focus_event),
4247 (report_focussed_accessible): remove g_warning debug.
4249 2001-12-07 Michael Meeks <michael@ximian.com>
4251 * test/test-simple.c (validate_tree): comment out some checks.
4252 (test_desktop): app now not registered idly - horay.
4254 2001-12-07 Michael Meeks <michael@ximian.com>
4256 * cspi/spi_registry.c
4257 (registerAccessibleKeystrokeListener): clean, stop it leaking
4258 great swathes of memory, and device event controller references.
4259 ensure we always pass valid sequences.
4260 (deregisterAccessibleKeystrokeListener): ditto.
4261 (generateKeyEvent): upd.
4263 * at-bridge/bridge.c (bridge_key_listener): handle
4264 registry dead exception gracefully.
4265 (bridge_focus_tracker, emit_eventv): free ev.
4267 * test/simple-at.c (report_focus_event): fix polarity.
4269 * libspi/application.c (notify_listeners): kill the ev
4270 argument, and make sure we init the ev we use.
4271 (spi_application_object_event_listener): split out a chunk
4272 (get_atk_object_ref): here & fixup.
4273 (reverse_lookup_name_for_toolkit_event): make const.
4274 (spi_application_toolkit_event_listener): fixup, kill leaks
4277 * at-bridge/bridge.c (register_atk_event_listeners):
4278 don't unref the noop object - causes grief.
4280 * libspi/registry.c: remove the X headers.
4281 turn off the debug churn.
4283 * libspi/accessible.c (spi_accessible_new_return): only
4284 release the ref if we are supposed to [doh]
4286 * test/simple-at.c (report_button_press, report_focus_event):
4287 guard vs. unexpected exit.
4289 * at-bridge/bridge.c (gtk_module_init): prune printf.
4290 (bridge_exit_func): fix app unref.
4292 * libspi/Makefile.am: don't install registry or desktop.h
4294 * libspi/*.h: update includes.
4296 * libspi/application.h: don't include ourself, or
4297 other redundant headers.
4299 2001-12-06 Michael Meeks <michael@ximian.com>
4301 * libspi/accessible.c
4302 (get_accessible_from_servant): impl.
4303 Upd. all CORBA impl.s to use it killing cut and paste.
4305 * cspi/spi_main.c (cspi_cleanup): guard vs. double
4307 (SPI_init): register atexit cleanup handler here.
4309 2001-12-06 Michael Meeks <michael@ximian.com>
4311 * at-bridge/bridge.c (gtk_module_init): g_error on
4312 activation exception
4314 2001-12-06 Michael Meeks <michael@ximian.com>
4316 * at-bridge/bridge.c (gtk_module_init): some sort of
4317 confusing merge clash - reverted.
4318 (bridge_idle_init): ditto.
4320 * test/test-simple.c (main, utterable_normal_derefs):
4321 merge from Bill - somehow not committed.
4323 2001-12-06 Michael Meeks <michael@ximian.com>
4325 * libspi/value.c (spi_value_class_init): upd.
4326 (spi_value_finalize): kill.
4328 * libspi/table.c (spi_table_finalize): kill.
4329 (spi_table_interface_new): upd.
4330 (spi_table_class_init): upd.
4331 (get_table_from_servant): impl.
4332 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4334 * libspi/selection.c (spi_selection_finalize): kill.
4335 (spi_selection_interface_new): upd.
4336 (spi_selection_class_init): upd.
4337 (get_selection_from_servant): impl.
4338 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4340 * libspi/relation.c (spi_relation_finalize): kill.
4341 (spi_relation_class_init, spi_relation_new): upd
4343 * libspi/image.c (spi_image_finalize): kill.
4344 (spi_image_class_init): upd.
4345 (spi_image_interface_new): upd.
4346 (get_image_from_servant): impl.
4347 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4349 * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
4350 (spi_hyperlink_finalize): kill.
4351 (spi_hyperlink_new): upd.
4352 (get_hyperlink_from_servant): impl.
4353 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4355 * libspi/hypertext.c (spi_hypertext_interface_new): upd.
4356 (spi_hypertext_finalize): kill.
4357 (spi_hypertext_class_init): upd.
4358 (get_hypertext_from_servant): impl.
4359 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4361 * libspi/editabletext.c (spi_editable_text_finalize): kill.
4362 (spi_editable_text_interface_new): upd.
4363 (get_editable_text_from_servant): impl.
4364 Upd. all CORBA impl.s to use it killing yet more cut and paste.
4366 * libspi/text.c (get_text_from_servant): impl.
4367 All impls - update to use it killing more cut and paste,
4368 also fix bad string returns on duff args ( a somewhat
4369 impossible case to handle - but hey ).
4370 (spi_text_construct): impl.
4371 (spi_text_interface_new): upd.
4372 (spi_text_object_finalize): kill.
4374 * libspi/component.c
4375 (accessibility_component_object_finalize): kill.
4376 (spi_component_class_init): upd.
4377 (get_component_from_servant): impl. helper to kill cut & paste.
4378 (impl_accessibility_component_contains):
4379 (impl_accessibility_component_get_accessible_at_point):
4380 (impl_accessibility_component_get_position):
4381 (impl_accessibility_component_get_extents):
4382 (impl_accessibility_component_get_mdi_z_order):
4383 (impl_accessibility_component_get_layer):
4384 (spi_component_interface_new): upd.
4386 * libspi/action.c (spi_action_finalize): kill.
4387 (spi_action_class_init): upd. inherit from SpiObject.
4388 (spi_action_interface_new): upd.
4389 (get_action_from_servant): impl. helper to reduce cut & paste.
4390 (impl_getKeyBinding, impl_getName, impl_doAction),
4391 (impl_getDescription): Use it everywhere.
4393 * cspi/spi_main.c (get_live_refs): a pointer hash.
4394 (spi_object_hash, spi_object_equal): comment out.
4395 There are issues with CORBA object hashing that need
4398 * libspi/application.c (spi_application_init),
4399 (spi_application_new): upd.
4401 * libspi/accessible.c (spi_accessible_object_finalize): kill.
4402 (spi_accessible_class_init): upd.
4403 s/accessible/object/ in epv methods.
4405 2001-12-05 Bill Haneman <bill.haneman@sun.com>
4407 * at-bridge/bridge.c:
4408 Reorder the bridge initialization into the bridge gtk_module_init,
4409 an immediate call to bridge_register_app, and an idle_add for
4410 register_atk_event_listeners (the only code that *must* wait until
4411 GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
4412 the activation, creates the application's Accessible object, and
4413 queues the bridge_idle_init function. Restored call to
4414 Accessibility_Registry_deregisterApplication().
4415 Prior to making this call we obtain a new reference to the
4416 registry, which is a temporary hack that helps us handle apps that
4417 shut down the bonobo mainloop before we get there.
4419 * libspi/registry.c:
4420 Fix string leakage in debug block, and don't segv if a an app
4421 dies before its event notifications have been propagated.
4424 Modify cspi_check_ev() to call g_warning() rather than g_error(),
4425 as stopgap measure until we get proper exception handling when
4426 objects die during or before interrogation.
4430 Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
4431 Also changed default value of is_gnome_app to TRUE.
4434 * test/keysynth-demo.c:
4435 Changed use of SPI_init and SPI_event_main to reflect API change above.
4438 Made report_focus_event check the warning value from getName
4439 before reporting on focussed accessible; simplifies handling of
4440 notifications from dead objects.
4442 * test/test-simple.c: (Changes not in this patch since source is
4445 2001-12-05 Michael Meeks <michael@ximian.com>
4447 * registryd/registryd.c (main): protect against
4448 bonobo-activation startup race condition.
4450 * cspi/spi_main.c (cspi_object_add_check): cope
4451 with the exception elegantly.
4453 * idl/Accessible.idl: decl. ChildGone
4455 * libspi/desktop.c (spi_desktop_dispose): impl.
4456 (spi_desktop_class_init): upd.
4457 (spi_desktop_add_application),
4458 (spi_desktop_remove_application),
4459 (abnormal_application_termination): impl.
4460 (impl_desktop_get_child_at_index): re-impl.
4463 (impl_accessibility_registry_deregister_application),
4464 (impl_accessibility_registry_register_application):
4465 kill excessive debug clutter.
4467 * test/test-simple.c (test_misc): test some NULL
4468 tolerance. (main): upd.
4470 * cspi/spi_main.c (cspi_accessible_is_a): a NULL
4471 implements no interfaces - so let's not crash.
4473 * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
4475 * libspi/accessible.c (spi_accessible_new_return): impl.
4476 helper to calm the cut and paste, to cope with
4477 NULL AtkObjects effectively and efficiently, and to kill
4478 the referencing bugs.
4480 * libspi/table.c (impl_getAccessibleAt),
4481 (impl_getRowHeader, impl_getColumnHeader): upd.
4483 * libspi/hyperlink.c (impl_getObject): upd.
4485 * libspi/accessible.c
4486 (impl_accessibility_accessible_get_child_at_index): upd.
4488 * libspi/component.c
4489 (impl_accessibility_component_get_accessible_at_point): upd.
4491 * test/test-simple.c (test_editable_text, test_text): impl.
4494 * cspi/spi_editabletext.c
4495 (AccessibleEditableText_insertText): constify.
4497 * test/test-simple.c (focus_me): make more robust.
4499 * libspi/accessible.c: remove some printfs in methods that
4500 we test and work fine, so we can get a clean tree dump.
4502 * test/test-simple.c (validate_accessible),
4503 (validate_tree): make tree dumping pretty too.
4505 * at-bridge/bridge.c (bridge_signal_listener): upd. so
4506 it builds without debug on.
4508 * test/test-simple.c (validate_accessible): fix the most
4511 * cspi/spi_main.c (spi_object_release): leave the nicely
4512 blanked memory around if in debug mode.
4514 * cspi/spi-listener-impl.c (cspi_event): use add_check.
4516 [committed to fixups2]
4517 2001-12-05 Michael Meeks <michael@ximian.com>
4519 * libspi/editabletext.c
4520 (spi_editable_text_class_init): g_type_class_peek_parent,
4521 not interface peek - so we finalize cleanly.
4523 * libspi/accessible.c (spi_accessible_new): kill debug.
4525 * test/test-simple.c (validate_accessible): fix ref.
4526 leak, print strings before freeing them; sigh, comment a
4527 chunk out due to strangeness.
4528 (validate_tree): unref the child after use.
4530 * cspi/spi_component.c (AccessibleComponent_getLayer):
4531 add missing break statement, switch on zlayer not the
4532 uninitialized retval.
4534 * cspi/spi_main.c (cspi_object_add): add assert, local ref
4535 before (possibly re-entering) remote unref.
4537 * test/simple-at.c (main): unref the desktop.
4539 * cspi/spi_accessible.c (cspi_accessible_is_a): move
4542 * cspi/spi_main.c (cspi_accessible_is_a): here to
4543 isolate bonobo API usage more.
4545 * libspi/registry.c (impl_accessibility_registry_register_application):
4546 prune bogus comment.
4548 2001-12-04 Michael Meeks <michael@ximian.com>
4550 * test/test-simple.c (validate_tree): upd.
4551 IndexInParent check to make it more lucid.
4552 (validate_accessible): dump the tree.
4554 * libspi/accessible.c (de_register_public_ref),
4555 (get_public_refs): impl.
4556 (spi_accessible_new): make more efficient & intuitive.
4557 Now IndexInParent check works.
4559 2001-12-04 Michael Meeks <michael@ximian.com>
4561 * cspi/spi-util.h: remove.
4563 * cspi/spi.h: move SPI_freeString here
4565 * libspi/component.c (impl_accessibility_component_get_layer):
4567 (impl_accessibility_component_get_mdi_z_order): ditto,
4568 return -1 on error - is this ok ?
4570 * test/test-simple.c (test_application): impl.
4572 * cspi/spi_accessible.c (Accessible_getApplication),
4573 (Accessible_isApplication): impl.
4575 * libspi/registry.c (spi_listener_struct_free): release
4576 the CORBA reference too.
4578 * libspi/accessible.c
4579 (impl_accessibility_accessible_get_parent): fix ref leak.
4581 * libspi/registry.c (spi_registry_new): make the registry
4582 immortal - we don't want it to go away ever.
4584 * libspi/application.c
4585 (spi_accessible_application_finalize): impl. cleanup.
4587 * cspi/spi_registry.c
4588 (deregisterGlobalEventListenerAll),
4589 (deregisterGlobalEventListener),
4590 (deregisterAccessibleKeystrokeListener): fix ref leak.
4592 * cspi/spi_main.c (SPI_init): remove redundant ref.
4594 * test/test-simple.c (unutterable_horror): impl. to force a
4599 (impl_accessibility_registry_deregister_application): release
4600 the application when we de-register it.
4602 * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
4603 until we have the infastructure to get it right.
4605 2001-12-03 Michael Meeks <michael@ximian.com>
4607 * libspi/Makefile.am: only build eventlistener.[ch]
4609 * libspi/accessible.c
4610 (impl_accessibility_accessible_get_child_at_index): don't leak.
4612 * at-bridge/bridge.c (bridge_exit_func): cope with an exit
4613 before we hit the idle handler.
4615 * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
4616 debugging than exit.
4618 * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
4620 * libspi/listener.c (impl_notify_event): check source
4621 not NIL before unref.
4623 * libspi/registry.c (impl_registry_notify_event): ditto.
4625 * libspi/eventlistener.c
4626 (impl_accessible_event_notify_event): unref the source.
4628 * libspi/accessibleeventlistener.c
4629 (impl_accessible_event_notify_event): unref the source.
4631 * idl/Event.idl: remove 'hash_id' attribute - of no
4634 * libspi/application.c (notify_listeners): upd list
4636 (spi_application_object_event_listener),
4637 (spi_application_toolkit_event_listener): upd to do correct
4641 (_registry_notify_listeners): update.
4642 (parse_event_type): this method also leaks like a sieve.
4643 (impl_accessibility_registry_deregister_global_event_listener):
4644 fix ETYPE_WINDOW case.
4646 * libspi/application.c
4647 (impl_accessibility_application_register_object_event_listener):
4650 * libspi/hyperlink.c (impl_getObject): fix ref mistake.
4652 * libspi/hypertext.c (impl_getLink): ditto.
4654 * cspi/spi_main.c (cspi_object_add): remove
4655 bogus CORBA_Object_duplicate.
4657 * cspi/spi-listener-impl.c (cspi_event): dup/ref
4660 * cspi/spi_accessible.c
4661 (Accessible_getRelationSet): fix leak / referencing issue.
4663 * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
4664 (cspi_object_add, cspi_object_unref): upd.
4665 (spi_object_release, get_live_refs): impl.
4666 (cspi_cleanup): simplify.
4668 * *.[ch]: s/boolean/SpiBoolean/
4670 * cspi/spi_accessible.c (role_names): actualy order so it
4671 corresponds with the enum !
4673 * test/test-simple.c (test_roles): check some role strings
4674 vs. enums to detect offset errors.
4676 2001-12-01 Michael Meeks <michael@ximian.com>
4678 * cspi/spi_main.c (cspi_object_add_check): impl. helper.
4680 * cspi/spi_accessible.c (Accessible_getChildAtIndex):
4682 (Accessible_getChildAtIndex): use cspi_add_check so we
4683 check the ev before using a (possibly) invalid value.
4685 * libspi/accessible.c
4686 (impl_accessibility_accessible_get_parent): don't segv
4689 * at-bridge/bridge.c (gtk_module_init): upd.
4690 (bridge_property_event_listener): don't leak strings
4692 (bridge_state_event_listener),
4693 (bridge_property_event_listener): don't use a static
4694 buffer in case of recursive event emission &
4695 re-enterancy - split out the swathe of cut and paste
4697 (emit_eventv): and fix 2 ref leaks here & comply to the
4699 (bridge_register_app): rename to
4700 (bridge_idle_init): this and kill arg parsing, split
4701 various inits & bonobo-activation registration to module
4702 init time, kill referencing error.
4703 (bridge_exit_func): fix the same leak.
4704 (bridge_focus_tracker): don't leak event structures
4706 (bridge_signal_listener): more leakage and cut & paste
4708 (bridge_key_listener): return the result - FIXME is
4709 this polarity correct ?
4710 (accessibility_keystroke_from_atk_key_event): rename
4711 (accessibility_init_keystroke_from_atk_key_event): and stop
4713 (gtk_module_init): return a value - not that it is checked by
4715 (bridge_key_listener): register my horror at casting between
4716 IDL defined structs.
4717 (bridge_get_registry): kill - not used.
4719 * cspi/spi_accessible.c (Accessible_getRole): make return const.
4721 * test/test-simple.c (test_roles): impl.
4722 (test_desktop, validate_accessible, validate_tree): impl.
4724 * cspi/spi_accessible.c (role_names): fixup bogus
4725 MAX_ROLES setup, make constants const for efficient linkage
4726 (AccessibleRole_getName): conform to coding style, make
4729 2001-11-30 Michael Meeks <michael@ximian.com>
4731 * cspi/spi.h: add missing prototype.
4733 * libspi/registry.c (spi_listener_struct_new): fix sig.
4735 * test/Makefile.am: add test-simple
4737 * test/test-simple.c: add
4739 * test/test.sh: add.
4741 * cspi/spi_main.c (SPI_init): make SPI_inited module global,
4743 * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
4744 do it straight - since otherwise we often get an activation race.
4746 [ work before Bill duplicated a chunk of it ... ]
4747 2001-11-30 Michael Meeks <michael@ximian.com>
4749 * libspi/keystrokelistener.c
4750 (spi_keystroke_listener_class_init): fixup arg
4753 * libspi/eventlistener.c
4754 (spi_event_listener_class_init): ditto.
4756 * tests/test.sh: add.
4758 * cspi/spi-listener-impl.h: update macros.
4760 * cspi/spi-listener-impl.c
4761 (cspi_event_listener_remove_callback): add
4762 correct pre-conditions.
4764 * cspi/spi_main.c (SPI_exit): guard vs. double
4765 exits, exit the mainloop nicely.
4766 (SPI_event_main): make more sense.
4767 (SPI_init): move the atexit evilness here so we
4768 always do it (yuck).
4769 (SPI_event_main): upd.
4771 * test/simple-at.c: update for listener changes.
4773 * registryd/registryd.c (main): prune kruft.
4775 * libspi/libspi.h: upd.
4777 * libspi/eventlistener.[ch]: rename broken macros.
4779 * libspi/accessibleeventlistener.[ch]: remove.
4781 * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
4783 * test/test-simple.c: Add - automated tests.
4785 * cspi/spi-listener-impl.c (cspi_event),
4786 (cspi_key_event): add user_data to invoke.
4787 (cspi_keystroke_listener_finalize): impl.
4788 (cspi_keystroke_listener_class_init): upd.
4791 (createAccessibleEventListener),
4792 (AccessibleEventListener_addCallback),
4793 (createAccessibleKeystrokeListener),
4794 (AccessibleKeystrokeListener_addCallback): upd.
4796 * libspi/deviceeventcontroller.c
4797 (spi_device_event_controller_check_key_event): add public proto.
4800 (impl_accessibility_registry_deregister_global_event_listener):
4801 always init listeners.
4802 (_registry_notify_listeners): yes it is.
4804 * cspi/spi-listener-impl.c (cspi_key_event):
4806 (cspi_event_listener_finalize): impl.
4807 (cspi_event_listener_class_init): hook up.
4808 (event_handler_new, event_handler_free),
4809 (event_list_remove_by_callback): impl.
4810 (cspi_event_listener_remove_callback),
4811 (cspi_keystroke_listener_remove_callback),
4812 (cspi_keystroke_listener_add_callback),
4813 (cspi_event_listener_add_callback): upd.
4815 * libspi/keystrokelistener.c
4816 (keystroke_listener_object_finalize): kill
4817 (spi_keystroke_listener_class_init): upd.
4818 (spi_keystroke_listener_add_callback),
4819 (spi_keystroke_listener_remove_callback): kill,
4821 (impl_key_event): prune drasticaly.
4823 * libspi/eventlistener.c
4824 (spi_event_listener_add_callback),
4825 (spi_event_listener_remove_callback): kill, use
4827 (impl_accessible_event_notify_event): upd.
4828 (spi_event_listener_object_finalize): remove.
4830 * libspi/Makefile.am: use eventlistener.[ch]
4832 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4834 * libspi/registry.c (_registry_notify_listeners):
4835 Changed listener loop iteration to use preferred convention.
4836 Got rid of string memory leaks caused be calling g_strconcat
4837 inside function calls.
4839 * libspi/registry.c (parse_event_type):
4840 Stopped g_strconcat memory leaks, free the g_strsplit return,
4841 g_strdup the split pieces when used, etc.
4843 2001-12-04 Bill Haneman <bill.haneman@sun.com>
4846 Change method 'compare' to return a 'difference set' rather than
4847 taking a StateSet as an out parameter (more Java-friendly).
4849 * idl/Accessible.idl:
4850 Added CORBA struct 'BoundingBox', to faciliate API changes below:
4852 * idl/Component.idl:
4854 Changed methods 'getExtents' and 'getImageExtents' in these
4855 interfaces to return a BoundingBox structure.
4856 (getPosition and getSize are redundant and possibly should be
4857 removed, rather than creating a corresponding Point struct.)
4859 * cspi/spi_component.c:
4860 Modify implementation of getExtents to reflect the above IDL
4865 Add (missing) AccessibleImage_getExtents () API.
4867 * docs/reference/cspi/at-spi-cspi-sections.txt:
4868 Added AccessibleImage_getImageExtents () to docs.
4870 2001-12-03 Bill Haneman <bill.haneman@sun.com>
4872 * idl/Component.idl:
4873 Added two methods, getLayer () and getMDIZOrder (), to reflect
4874 the new ATK methods atk_object_get_layer and
4875 atk_object_get_mdi_z_order. (Which arguably should be part of the
4876 AtkComponent API and AtkObject). Also added an enum,
4877 ComponentLayer, for the first method's return value.
4879 * libspi/component.c:
4880 Added implementations for these methods.
4882 * cspi/spi_component.c:
4884 Added cspi binding methods for above,
4885 AccessibleComponent_getLayer() and
4886 AccessibleComponent_getMDIZOrder().
4887 Added cspi enum 'AccessibleComponentLayer'.
4889 * docs/reference/cspi/at-spi-cspi-sections.txt:
4890 Added above methods to docs.
4894 Changed typedef for 'boolean' type (and all references to it) to
4895 SPIBoolean, to avoid keyword clashes with C++.
4898 Changed usages of 'boolean' to SPIBoolean.
4900 * test/keysynth-demo.c:
4901 Changed usages of 'boolean' to 'gboolean' (since this is a gnome
4902 app), except where SPIBoolean is required by the callbacks API.
4904 2001-12-02 Bill Haneman <bill.haneman@sun.com>
4906 * cspi/spi_registry.c:
4907 Removed obsolete X event loop for passive keygrabs (which now
4910 * registryd/registryd.c:
4911 Removed unnecessary call to gdk_init() [cruft]. This also allows
4912 removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
4915 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4917 * docs/reference/cspi:
4918 Included docs for SPI_freeString in generated documentation.
4921 Renamed spi_freeString to SPI_freeString, for consistency. Added
4922 documentation for this function.
4925 Renamed spi_freeString to SPI_freeString, for consistency.
4926 Removed obsolete method declaration string_from_corba_string.
4928 * test/keysynth-demo.c:
4929 Small tweak to comments.
4932 Stopped leaking the strings returned from CSPI.
4934 2001-11-28 Bill Haneman <bill.haneman@sun.com>
4936 Merged Michael's branch (see his ChangeLog entries below).
4938 * at-bridge/bridge.c: Explicitly hold a ref to the registry while
4939 bridge is alive, release on exit.
4941 * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
4942 Fix type check macro.
4945 Added AccessibleKeystrokeListener_unref() method to reduce leakage.
4948 Added is_gnome_app static, and method cspi_is_gnome_app(),
4949 so we can call the appropriate shutdown routine at exit in SPI_exit.
4951 * cspi/spi_main.c (cspi_object_ref):
4952 Duplicate the corba object passed in, since we're keeping it around.
4954 * cspi/SPI_exit.c, cspi_cleanup:
4955 Moved the releasing of the live refs to its own function, so we
4956 can put it in g_atexit (). Call the appropriate shutdown API
4957 depending on whethe calling client is a gnome app or not
4958 (bonobo_main_quit or CORBA_ORB_shutdown).
4960 * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
4961 Unref the listener when this method is called, after
4962 deregistration. Updated the API docs to note this behavior.
4964 * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
4965 Bugfixes: Ref the bonobo object when returning a parent or child
4966 reference, or an AccessibleRelation. Generally made sure
4967 BonoboObject refcount is incremented whenever we return an
4970 * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
4971 Fixed typo/bug in signal declaration.
4973 * libspi/accessibleeventlistener.h:
4976 * libspi/application.c (spi_application_new):
4977 Fixed leak in initialization.
4980 Remembered to increment bonobo-object refcount when returning
4981 children (applications) from desktop object.
4982 Added (empty) finalize method.
4984 * libspi/deviceeventcontroller.c:
4985 Hold a ref to listeners inside DEControllerKeyListeners.
4986 Added dec_key_listener_free() method. Use prepend instead of
4987 append in key_listener list. Fixed some refcount madness and
4988 leaks in the listener registration/deregistration - deregistration
4989 now calls dec_key_listener_free() on listeners, and on the
4990 temporarily constructed dec_key_listener() used to perform the search/match.
4992 * libspi/hypertext.c (spi_hypertest_finalize):
4993 Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
4994 class. Also fixed spi_hypertext_interface_new() and
4995 SpiHypertextClass. Fixed a couple of paren-whitespace formatting bugs.
4997 * libspi/hypertext.h:
4998 Removed pointless and duplicate AtkObject pointer from
5001 * libspi/keystrokelistener.c:
5002 Fixed incorrect type of keystroke_listener_parent_class,
5003 renamed keystroke_listener_object_finalize to
5004 spi_keystroke_listener_object_finalize.
5005 Fixed typo in signal declaration
5006 (spi_keystroke_listener_class_init).
5008 * libspi/registry.c:
5009 Added funcsions spi_listener_struct_new() and
5010 spi_listener_struct_free() to help with memory management issues.
5011 We also now use these methods instead of gnew + poking stuff into
5012 the struct, and to decrement listener counts/free the listeners
5013 when deregistering them.
5014 Fix more refcount bugs in getDesktop() and
5015 getDeviceEventController().
5018 De-ref the desktop after enumerating the applications. Explicitly
5019 decrement the refcounts on the created listeners on exit (using
5020 _unref for keystroke listeners, and via the
5021 deregisterGlobalEventListenerAll command for other event
5024 2001-11-27 Michael Meeks <michael@ximian.com>
5026 * cspi/spi-listener.h: fixup enum.
5028 2001-11-27 Michael Meeks <michael@ximian.com>
5030 * cspi/spi-listener-impl.c (cspi_event_listener_new),
5031 (cspi_keystroke_listener_new): Use the cspi variants.
5033 2001-11-26 Michael Meeks <michael@ximian.com>
5035 * test/keysynth-demo.c: fix 2 compile warnings, missing
5038 * test/simple-at.c (report_focussed_accessible),
5039 (report_focus_event, report_button_press),
5040 (check_property_change, is_command_key),
5041 (report_ordinary_key_event, report_command_key_event): upd.
5043 * util/mag_client.h: include pre-requisites.
5045 * libspi/accessibleeventlistener.c
5046 (spi_event_listener_object_finalize): free any lingering
5049 * libspi/keystrokelistener.c
5050 (keystroke_listener_object_finalize): ditto.
5052 * cspi/spi-listener-impl.[ch]: Add to implement cspi style
5053 callbacks, with cspi types.
5055 * cspi/spi_event.c (createAccessibleEventListener): chain to
5056 (AccessibleEventListener_addCallback): here.
5057 (createAccessibleKeystrokeListener): chain to
5058 (AccessibleKeystrokeListener_addCallback): here.
5060 * libspi/keystrokelistener.c
5061 (spi_keystroke_listener_class_init): add signal.
5062 (impl_key_event): emit the event.
5063 (boolean_handled_accumulator): impl.
5064 (marshal_BOOLEAN__POINTER): add, gack.
5066 * libspi/accessibleeventlistener.c
5067 (spi_event_listener_class_init): add signal.
5068 (impl_accessible_event_notify_event): emit the signal &
5069 make the loop efficient.
5070 (spi_event_listener_add_callback): prepend the callback.
5072 * libspi/accessibleeventlistener.h: add an 'event' signal,
5073 decl type on callback.
5075 * libspi/keystrokelistener.h: ditto.
5077 * cspi/spi-listener.h: make methods typesafe and
5078 make them use the new event typedefs.
5080 * test/simple-at.c (report_focussed_accessible):
5081 include mag_client.h
5082 Use *(void *)text_interface not the other thing.
5084 * configure.in: add gtk to registryd bits - since we use
5087 * util/magnifier.c: include libbonobo.h
5089 2001-11-25 Bill Haneman <bill.haneman@sun.com>
5091 * test/keysynth-demo.c:
5092 Turned this into a simple scanning keyboard, to demonstrate the
5093 use of g_timeout_add () as a means of creating timers for
5094 scanning, and the use of GtkStyle for visually indicating when
5095 virtual keyboard elements are selected.
5097 keysynth-demo now listens to any keyboard keys with zero-valued
5098 keycodes (i.e. 'unused' keys) and interprets them as
5101 Reworked the shiftlatch code so that shift-down state isn't held
5102 for long periods (it's only synthesized immediately prior to
5103 the keysynth event it's modifying). Note that shiftlatch in this
5104 demo is a convenience, not intended to take the place of AccessX
5105 which is the better choice for getting 'sticky' modifier keys.
5107 * libspi/deviceeventcontroller.c:
5108 * at-bridge/bridge.c:
5109 * cspi/spi_registry.c:
5110 Removed some debug print stuff, and put other verbosity in #ifdef
5115 Implemented some more of the magnifier IDL for the simple
5116 magnifier: namely, getZoomRegionParams.
5117 Added mag_x and mag_y members to MagnifierData struct, aid of this
5119 Added GtkWindow::realize signal handler to magnifier, to keep it
5120 from receiving keyboard focus from the WM.
5122 2001-11-23 Mark McLoughlin <mark@skynet.ie>
5124 * cspi/spi-private.h: my guess at what michael forgot
5125 before he ran off to NZ :-)
5127 2001-11-23 Michael Meeks <michael@ximian.com>
5129 * cspi/spi_event.c (AccessibleEventListener_removeCallback):
5130 comment out non existant method invoke so we link.
5132 * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
5133 use bonobo_exception_get_text for more friendly warnings.
5135 * cspi/spi.c (Obj_Add): move into spi_main & rename
5136 spi_object_add; kill spi.c
5138 * cspi/spi_registry.c
5139 (deregisterGlobalEventListener),
5140 (deregisterGlobalEventListenerAll),
5141 (registerGlobalEventListener): fix exception leaks.
5143 * cspi/spi_main.c (spi_exception): impl. helper, so we
5144 don't leak exceptions.
5146 * cspi/spi_selection.c
5147 (AccessibleSelection_deselectSelectedChild): return the
5150 * cspi/spi_main.c (spi_ev): impl; hack - gack.
5151 (spi_registry): ditto.
5152 (SPI_init): guard against double inits.
5154 * cspi/*.c: use spi_ev (), and spi_registry () where
5155 appropriate - a temporary hack until we have something
5156 better. Use spi_object_add
5158 2001-11-22 Michael Meeks <michael@ximian.com>
5160 * cspi/Makefile.am: re organise, install the headers.
5162 * cspi/*.h: add G_BEGIN/END_DECLS
5164 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5167 Added non-preemptive keylistener for key events with no modifiers
5168 and shift-only modifier.
5170 * libspi/keystrokelistener.c:
5171 Removed some verbose diagnostics printout.
5173 * cspi/spi_registry.c:
5174 Fixed a bug that caused all key listeners to be registered as
5177 * libspi/deviceeventcontroller.c:
5178 Fixed bug that caused XGrabKey (preemptive key grab) to be called
5179 for non-preemptive key masks.
5182 2001-11-22 Bill Haneman <bill.haneman@sun.com>
5184 * docs/reference/idl/at-spi-idl-docs.sgml:
5185 * docs/reference/idl/at-spi-idl-sections.txt:
5186 * docs/reference/idl/at-spi-idl-overrides.txt:
5187 Added missing files.
5189 * docs/reference/Makefile.am:
5190 removed idl from SUBDIRS until we can figure a way to get gtk-doc
5191 to scan the IDL files :-(
5196 Added .cvsignore files.
5198 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5200 * libspi/deviceeventcontroller.c:
5201 * libspi/keystrokelistener.c:
5203 * cspi/spi_registry.c:
5204 Added filters for KeySets, KeyEventSeq, and event types to key
5205 event dispatching, so listeners should only receive those events
5206 that they requested :-)
5208 2001-11-21 Bill Haneman <bill.haneman@sun.com>
5213 * docs/reference:Makefile.am:
5214 * docs/reference/cspi:
5215 * docs/reference/cspi:Makefile.am:
5216 * docs/reference/cspi:tmpl:
5217 * docs/reference/cspi:tmpl:*.sgml:
5218 * docs/reference/idl:
5219 * docs/reference/idl:Makefile.am:
5220 * docs/reference/idl:at-spi-idl-sections.txt:
5221 * docs/reference/idl:at-spi-idl-docs.sgml:
5222 * docs/reference/idl:tmpl:
5223 * docs/reference/idl:tmpl:*.sgml:
5225 Restructured docs directory to allow separate 'reference' docs
5226 section, and forked idl and cspi docs. Added the sgml template
5227 files to CVS. Added the first sections/structural sgml for the
5230 2001-11-21 Laszlo Peter <laca@ireland.sun.com>
5232 * configure.in, libspi/Makefile.am: find libXtst.
5234 2001-11-21 Michael Meeks <michael@ximian.com>
5236 * test/accessx-gui.c: s/spi_value/value/ - doh.
5238 * libspi/base.[ch]: add.
5240 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5242 * idl/Accessible.idl:
5243 * idl/Application.idl:
5246 Started gtk-doc cleanup on IDL.
5248 * libspi/deviceeventcontroller.c:
5249 Added and connected non-preemptive key notification from the
5250 toolkits (in addition to the pre-emptive support from XServer
5251 which we had before, but which causes 'focus flashing'). Filters
5252 are presently limited to key modifiers and global/non-global,
5253 KeySets are presently ignored, as are KeyEvent masks.
5255 Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
5256 structs into the persistant structure rather than just storing
5257 pointers to things that might not persist across servant
5260 The XGrabKey call now does async keygrabs, because synchronous
5261 ones were deadlocking with GDK_event code in a very nasty way.
5263 Added boolean to internal method notify_keylisteners, to indicate
5264 whether the event came from the 'toolkit source' or the 'global
5265 (XServer) source' - this is used in the notification process to
5266 determine which listeners to send the event to.
5268 deviceeventcontroller.c is now warning-free.
5270 * libspi/registry.c:
5271 Fixed regression in application de-registration.
5272 Also fixed some really brain-dead weirdness having to do with
5273 event dispatching - event structs are now duplicated before being
5274 re-marshalled in the dispatch to listeners. This also fixes a
5275 Solaris build problem.
5278 2001-11-20 Michael Meeks <michael@ximian.com>
5281 (impl_accessibility_registry_deregister_global_event_listener):
5284 * libspi/deviceeventcontroller.c
5285 (spi_device_event_controller_check_key_event): return
5286 FALSE on no virtual method.
5288 * libspi/*..h: make includes work on a correctly pathed install.
5290 * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
5292 * libspi/application.h: kill unused ( and whacked out )
5293 gboolean *spi_application_set_id (AtkObject *app, long id);
5295 2001-11-20 Michael Meeks <michael@ximian.com>
5297 * libspi/*.[ch]: further convert to bonobo's type func
5298 macros, remove redundnant casts etc.
5300 * libspi/text.c s/accessibility_text/spi_text/g,
5301 re-order to de-cruft.
5303 * libspi/hypertext.c: re-order to kill a huge slew
5304 of redundant forward decls.
5306 * libspi/relation.c: ditto.
5308 * libspi/image.c: ditto.
5310 * */.cvsignore: update
5312 2001-11-20 Michael Meeks <michael@ximian.com>
5314 * libspi/deviceeventcontroller.c
5315 (_controller_register_with_devices): use g_getenv,
5316 kill stdlib.h include.
5318 * libspi/keystrokelistener.c
5319 (spi_keystroke_listener_get_type): kill
5320 (spi_keystroke_listener_class_init),
5321 (spi_keystroke_listener_init): rename to this.
5323 * libspi/text.c (impl_getAttributes): fix warning / bug.
5325 * libspi/*.[ch]: more headers, includes and over commenting.
5327 2001-11-20 Michael Meeks <michael@ximian.com>
5329 * libspi/*.[ch]: fixup headers, includes and over commenting.
5331 * libspi/image.c (impl__get_imageDescription): const
5332 correctness warning fix. remove redundant casting.
5334 * libspi/table.c (impl_getRowDescription): ditto.
5335 (impl_getColumnDescription): ditto.
5337 * libspi/libspi.h: add.
5339 2001-11-19 Michael Meeks <michael@ximian.com>
5341 * libspi/editabletext.c (impl_setAttributes): fix warnings.
5343 * libspi/component.c (accessibility_component_get_type):
5344 rename to (spi_component_get_type): and macroify.
5345 (accessibility_component_init): rename to
5346 (spi_component_init): this
5347 (accessibility_component_class_init): rename to
5348 (spi_component_class_init): this
5350 * libspi/action.c (spi_action_get_type): kill, use the macro.
5352 * libspi/deviceeventcontroller.c (_compare_listeners): re-order
5355 * libspi/application.c (spi_application_object_event_listener),
5356 (impl_accessibility_application_register_object_event_listener):
5357 warning fixes / const understanding updates.
5359 * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
5362 2001-11-18 Bill Haneman <bill.haneman@sun.com>
5364 * libspi/spi_accessible.c: Added docs and C bindings for
5365 AccessibleStateSet. (No implementations yet). Documentation
5366 coverage for C bindings now 100%. Made docs for event listeners
5371 boolean notifyListenersSync (in DeviceEventListener listener,
5372 in DeviceEvent event);
5374 oneway void notifyListenersAsync (in DeviceEventListener listener,
5375 in DeviceEvent event);
5377 Added DeviceEventListener and DeviceEvent structs (may deprecate
5378 KeyStroke and KeystrokeListener in favor of this generic
5379 event/listener framework for devices).
5381 * libspi/deviceeventcontroller.c:
5383 Changed some key listener code to take masks, etc., and paved the
5384 way for integration of toolkit/non-preemptive key events. Changed
5385 signatures of some internal methods.
5387 * at-bridge/bridge.c:
5388 Fixed regression connecting to interface signals, apparently
5389 caused by GTK+ changes.
5391 Added an internal bridge_state_listener to deal with
5392 property-change:accessible-state signals.
5394 Changed the key_listeners GList to store structs (including masks,
5395 etc.) instead of just CORBA_Objects (required for full
5396 implementation of key listener API).
5398 Connected the bridge to all currently supported Atk signals.
5399 Events now supported:
5400 object:property-change
5401 object:property-change:accessible-name
5402 object:property-change:accessible-state
5403 object:property-change:accessible-description
5404 object:property-change:accessible-parent
5405 object:property-change:accessible-value
5406 object:property-change:accessible-role
5407 object:property-change:accessible-table-caption
5408 object:property-change:accessible-table-column-description
5409 object:property-change:accessible-table-column-header
5410 object:property-change:accessible-table-row-description
5411 object:property-change:accessible-table-row-header
5412 object:property-change:accessible-table-summary
5413 object:children-changed
5414 object:visible-data-changed
5415 object:selection-changed
5416 object:text-selection-changed
5418 object:text-caret-moved
5420 object:row-reordered
5422 object:column-inserted
5423 object:column-reordered
5424 object:column-deleted
5425 object:model-changed
5427 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5429 * libspi/hyperlink.c,h:
5430 Fixed some broken stuff in hyperlink.
5432 * libspi/relation.h:
5433 * libspi/relation.c:
5434 * cspi/spi_accessible.c:
5435 Initial implementations of AccessibleRelation methods, and docs.
5437 * libspi/accessible.c:
5438 Fixed a bug that caused SEGV if an accessible
5439 object's description is NULL, and a client
5440 requests it. An empty string is now returned.
5442 * cspi/spi_editabletext.c:
5443 * cspi/spi_hypertext.c:
5445 * cspi/spi_hyperlink.c:
5449 Doc coverage now 95%.
5451 2001-11-16 Bill Haneman <bill.haneman@sun.com>
5453 One last namespacing revision:
5454 * libspi/accessibleeventlistener.[ch]:
5455 Renamed SpiAccessibleEventListener to SpiEventListener,
5456 (no need for two namespaces ;-)
5458 And lots of documentation fixes:
5460 * docs/at-spi-docs.sgml:
5461 Fixed 'underscore vs. hyphen' bug that was preventing
5462 the gtk-doc API docs from being automatically generated.
5465 * cspi/spi-listener.h
5467 * cspi/spi_accessible.c
5469 * cspi/spi_application.c
5470 * cspi/spi_component.c
5471 * cspi/spi_editabletext.c
5473 * cspi/spi_hypertext.c
5475 * cspi/spi_registry.c
5476 * cspi/spi_selection.c
5480 * docs/at-spi-docs.sgml
5481 * docs/at-spi-sections.txt
5483 Added and fixed up gtk-doc documentation in cspi.
5485 Interfaces now (fully) documented (subject to revision and enhancement):
5487 Event Listener Support
5489 AccessibleApplication
5493 AccessibleEditableText
5500 AccessibleRelationSet
5505 2001-11-14 Bill Haneman <bill.haneman@sun.com>
5507 * at-bridge/bridge.c:
5508 Initial work for toolkit-level key snooper connection by bridge.
5513 New typedefs and fixes to support new namespacing, and cleaner
5514 separation of cspi bindings from libspi bonobo implementation.
5515 Removed inconsistent and extraneous Spi* namespace prefix that
5516 had crept into cspi headers.
5517 Lots of comment fixes that sed had missed.
5519 * cspi/spi-roletypes.h:
5520 * cspi/spi-statetypes.h:
5521 Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
5522 to AccessibleRoleType.
5524 * libspi/accessibleeventlistener.h:
5525 Fixed minor namespacing weirdness.
5527 * libspi/deviceeventcontroller.c:
5528 Reordered some internal API for device listeners.
5529 Changed the key registry final boolean to 'is_system_global'
5530 rather than 'is_synchronous', which is more descriptive of its
5532 Added spi_device_event_controller_new().
5533 Added SpiRegistry backpointer to SpiDeviceEventControllerClass.
5535 * libspi/keystrokelistener.[ch]:
5536 Namespaced KeystrokeListener to SpiKeystrokeListener.
5537 Changed uses of keymasks to use SPI_ prefix, and did other
5540 * libspi/keymasks.h:
5541 Namespaced keymask constants with SPI_ prefix.
5543 * libspi/registry.c:
5544 Some warning fixes, and knock-on fixes from namespace changes.
5547 Added rules for accessx-gui test program.
5549 * test/accessx-gui.c:
5550 Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
5551 utility. It doesn't actually use at-spi, but it's still cool and
5554 * test/keysynth-demo.c:
5558 Fixes so that these test clients work properly with the namespaced
5559 libraries. (Incompletely tested for technical reasons, fixes may follow)
5562 2001-11-13 Michael Meeks <michael@ximian.com>
5564 * libspi/application.c
5565 (impl_accessibility_application_get_version),
5566 (impl_accessibility_application_get_toolkit_name):
5568 (impl_accessibility_application_set_id),
5569 (impl_accessibility_application_get_id): remove
5570 redundant casting code.
5572 * libspi/action.c (impl_getDescription): fix warnings.
5574 * libspi/accessible.c
5575 (impl_accessibility_accessible_get_parent),
5576 (impl_accessibility_accessible_get_child_at_index),
5577 (impl_accessibility_accessible_get_state),
5578 (impl_accessibility_accessible_get_relation_set):
5579 warning fixes & include action.h
5581 2001-11-13 Michael Meeks <michael@ximian.com>
5583 * *.[ch] fix bits I screwed up:
5585 s/([^ \tb(\*\&\?\",])spi_/\1/g;
5586 s/([^ \tb(\*\&\?\",])Spi/\1/g;
5588 2001-11-13 Michael Meeks <michael@ximian.com>
5590 * *.[ch] Namespace libspi into spi_ and Spi.
5592 2001-13-11 Michael Meeks <michael@ximian.com>
5594 * Makefile.am: dist & install at-spi-1.0.pc
5596 * libspi/Makefile.am: install into at-spi-1.0
5598 * idl/Makefile.am (idldir): install into at-spi-1.0
5600 * at-spi-1.0.pc.in: add.
5602 * configure.in: build it.
5604 2001-11-12 Bill Haneman <bill.haneman@sun.com>
5606 * test/keysynth-demo.c:
5607 Use a 'realize' signal-handler to set the WM properties for
5608 the virtual keyboard, rather than making it a "POPUP" type
5609 override-redirect window (thanks to anders carlsson for that
5612 2001-11-11 Bill Haneman <bill.haneman@sun.com>
5615 * test/keysynth-demo.c:
5616 Added new test of key synthesis, which creates a simple
5617 (mouse-operated) onscreen keyboard. It inserts key events into
5618 the currently-focused window, thus it does not grab keyboard focus
5621 * cspi/spi_registry.c:
5622 Added C binding for AT-SPI generateKeyEvent.
5624 * libspi/deviceeventcontroller.c:
5625 Added call to XFilterEvent so that key listener works with XIM (we
5626 hope). Added event_synth_type to generateKeyEvent, so that we can
5627 produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
5628 synthesize a press/release pair for KeySyms.
5630 2001-11-09 Bill Haneman <bill.haneman@sun.com>
5632 * libspi/Makefile.am:
5633 * registryd/Makefile.am:
5634 (temporary) hack to include libXtst in libspi and registryd.
5635 (Needed for keystroke synthesis, see below).
5638 Improved API for registerKeystrokeListener, in accordance with
5639 discussions with Gnopernicus team and X server research.
5641 * libspi/registry.c:
5642 * libspi/deviceeventcontroller.c:
5643 * libspi/accessible.c:
5644 * libspi/keystrokelistener.c:
5645 Changes and fixes to support keylisteners for potentially
5646 consumed key events (that is, 'passive grabs').
5647 Added implementation for generateKeyEvent() [untested].
5650 Changes to registerKeystrokeListener() API, as above.
5651 Added deregisterGlobalEventListenerAll(), and
5652 deregisterKeystrokeListener(), which are needed for clean exit of
5654 Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
5655 and a macro ALL_KEYS which may be used in place of a KeySet pointer.
5657 * cspi/spi_registry.c:
5658 Added implementations of function prototypes mentioned above.
5660 * registryd/registryd.c:
5661 Added the key listener event source as a g_timeout(), to allow
5662 receipt of key events that are not caught by GDK (since GDK
5663 doesn't support passive keygrabs, this was necessary).
5666 Changed to attach a keylistener to 'Alt' keys, and
5667 respond to the following keycommands: Alt-M (toggle magnifier);
5668 Alt-F (toggle speech); Alt-Q (quit).
5669 Added an exit routine to deregister the listeners, and a key
5670 listener that prints some key info to the console when a key
5671 matches the listener mask (and is thus received by the listener).
5673 * util/idl/Magnifier.idl:
5674 Changes to magnifier API to support multiple zoom regions,
5675 non-uniform scaling in x and y, markDirty, and a host of other
5676 features that would be useful to magnification.
5679 * util/mag_client.c:
5680 * util/mag_client.h:
5681 * util/mag_control.c:
5683 Source code changes to support the above IDL changes.
5686 As above, and also changes to use a (slower) generic conversion
5687 path for colormap conversions, since the fast RGB conversions have been
5688 reported to fail for 16-bit displays.
5690 2001-10-26 Michael Meeks <michael@ximian.com>
5692 * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
5694 2001-10-26 Laszlo Peter <laca@ireland.sun.com>
5696 * at-bridge/Makefile.am: fix LDFLAGS.
5698 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5700 * at-bridge/bridge.c:
5701 Re-worked listeners for toolkit events, now we have signal
5702 and property listeners. Added a private method
5703 register_atk_event_listeners(), which registers with the
5704 various atk and gtk signals we need to monitor in order to emit
5706 Added emission hook for AtkObject:property-change events, to
5707 support the 'property listeners'.
5708 Fixed some alloc()s of Accessibility_Event structs to use CORBA
5711 * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
5712 which emit warnings and exit, respectively, if CORBA errors occur
5713 during remote calls, and we now use these methods to check most of
5714 our CORBA calls in the C bindings.
5716 * cspi/spi_accessible.c:
5717 Changed AccessibleSelection_refSelectedChild() to
5718 AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
5719 now increment refcounts.
5721 * cspi/spi_component.c:
5722 Fixed some long pointer casts (dangerous!) to pass pointers to
5723 CORBA_longs of the proper type to the CORBA stubs, and copy the
5724 data into the longs that were passed into the C bindings code.
5726 * at-bridge/bridge.c:
5728 * libspi/accessible.c:
5729 Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
5730 hyperlinks, AtkHyperlink is an object type.
5732 * libspi/application.c:
5733 Added various conversions to and from "generic" event types and
5734 atk-specific types; this is really part of the 'bridge'
5735 implementation but is valid for all AtkObject-based accessibility
5738 * libspi/editabletext.c:
5739 Fixed nasty bug wherein editable text's finalize method was
5740 unref'ing tha AtkObject reference that the text parent class was
5741 about to unref _again_. There was also a nasty inheritance bug
5742 that meant that the AccessibleEditableText class was corrupt.
5744 * libspi/selection.c:
5745 Provided implementations for some selection API that was broken.
5747 * idl/Application.idl:
5748 Added registerObjectEventListener () method.
5751 Fixed a number of return values that were Bonobo_Unknowns from
5752 bonobo_object_corba_objref(), which I
5753 forgot to dup before returning. Changed instances of
5754 bonobo_object_corba_objref (bonobo_object(o)) to
5755 BONOBO_OBJREF(o), for concision and clarity.
5757 2001-10-13 Louise Miller <louise.miller@sun.com>
5759 * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
5760 idl/Event.idl, idl/Registry.idl
5761 Changed these files to include Bonobo_Unknown.idl instead
5764 2001-09-10 Marc Mulcahy <marc.mulcahy@sun.com
5766 * libspi/component.c libspi/component.h:
5767 Fixed typo. Added assertions for object checks in
5768 AccessibleComponent code.
5770 2001-10-09 Bill Haneman <bill.haneman@sun.com>
5772 * idl/Accessible.idl:
5773 Added 'isEqual (Accessible *object)'
5774 method for Accessible. (Not Yet Implemented).
5777 Changed signature of registerKeystrokeListener() to
5778 take a KeySet and KeyEventSeq so that specific keys and event
5779 types could be requested for monitoring, and added a flag
5780 is_synchronous so that either synchronous or asynchronous
5781 notification could be requested. (However this is not all
5782 implemented yet). This also meant adding two new typedefs,
5783 KeyEventSeq and KeySet.
5786 Added two new relations, RELATION_TOOLTIP_FOR and
5787 RELATION_LEAFNODE_OF.
5790 Added new state, STATE_HAS_TOOLTIP.
5792 * libspi/text.c, editabletext.c:
5793 Added new assertions to all casts of bonobo-objects from
5794 CORBA servants, to prevent Text API calls on non-text objects.
5795 Changed suspect casts of int-pointer types, so that we
5796 always send a valid CORBA_long pointer to the CORBA APIs that use
5797 in/out long parameters. We then have to copy from the CORBA_long
5798 into the regular long or int for return to the C bindings, or
5799 vice-versa when returning parameters from ATK calls to the bonobo wrappers.
5802 * libspi/deviceeventcontroller.c:
5803 Cleaned these sources up.
5805 Changed return type for getCharacterAtOffset to
5806 CORBA_unsigned_long, to allow for 32-bit characters.
5809 2001-10-08 Bill Haneman <bill.haneman@sun.com>
5813 Fixed 'make dist' so that distro compiles...
5814 * libspi/keymasks.h:
5816 * cspi/spi-listener.c:
5817 KeystrokeListenerCB now returns a boolean.
5819 Added KeyEventType struct, and KeyStroke.
5820 Also added createKeystrokeListener(),
5821 KeystrokeListener_addCallback(),
5822 KeystrokeListener_removeCallback(), and added a keymask to
5823 registerKeystrokeListener().
5824 * cspi/spi_accessible.c:
5825 Changed numerous return types for interfaces from
5826 AccessibleComponent to Accessible<InterfaceName>; this was
5827 probably a cut-and-paste error.
5829 Implementations of new KeystrokeListener api (from spi.h,
5832 Changes to key modifier mapping.
5833 Created ControllerEventMask struct.
5834 Made DeviceEventController derive from Bonobo::Unknown.
5836 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
5837 * libspi/deviceeventcontroller.c:
5838 Added a number of new internal (private) methods.
5839 * libspi/editabletext.c:
5840 * libspi/editabletext.h:
5841 Fixed a number of bugs related to the fact that
5842 editabletext inherits from text. Fixed the EditableText struct,
5843 the init() call, and use correct casts when calling Text methods
5844 from an EditableText object. Removed (duplicate) atko from the
5845 EditableText structure, we use the one in the parent Text
5846 structure via the casts mentioned above.
5847 * libspi/keystrokelistener.[ch]:
5848 * libspi/registry.c:
5849 Changes in support of keyboard handling (above).
5851 Keyboard handling, though partly functional, is still not
5852 recommended for at-spi client use as there is considerable
5853 work yet to be done.
5856 Changed some places where pointers to various int types
5857 are cast to be pointers to CORBA_long types and vice-versa:
5858 pointer casting is not safe so we pass pointers of the correct
5859 types and then cast the result before putting it into the target
5862 * libspi/text.h: minor typos corrected.
5864 We now speak not only the name of a Text element, but the
5865 first sentence of its content, when it receives focus.
5866 I also changed the text compression to 75% from 50%.
5867 * util/Accessibility_Util.server.in:
5868 Changed the default magnifier type to be a 3x vertical
5869 splitscreen magnifier (was previously a 2x horizontal one).
5871 2001-10-03 Bill Haneman <bill.haneman@sun.com>
5873 * libspi/keystrokelistener.h:
5874 * libspi/keystrokelistener.c:
5875 Initial functional implementations of KeystrokeListener.
5878 2001-10-05 Marc Mulcahy <marc.mulcahy@sun.com>
5880 Fixed string handling for NULL strings in libspi.
5881 Added spi_freeString to free strings returned by C bindings.
5883 2001-09-30 Bill Haneman <bill.haneman@sun.com>
5885 * libspi/keystrokelistener.h:
5886 * libspi/keystrokelistener.c:
5887 Began (no-op) implementations of KeystrokeListener
5889 * libspi/deviceeventcontroller.c:
5890 * libspi/deviceeventcontroller.h:
5891 Began creating implementations of DeviceEventController,
5892 to handle keystroke and mouse event listening and
5894 * libspi/accessible.c:
5895 Stubbed-in the implementations for
5896 Accessibility_Accessible_getState and
5897 Accessibility_Accessible_getRelationSet.
5898 * libspi/registry.c:
5899 Improved de-registration process and fixed some bugs,
5900 deregistration now works correctly.
5902 Added initialization of applications list (to NULL).
5904 Reduced speech compression from 0.5 to 0.7, for demo.
5905 Changed call to gdk_window_set_decorations()
5906 to gtk_window_set_decorated().
5907 * at-bridge/bridge.c:
5908 Bridge now deregisters when app exits, via
5909 registration of a cleanup function
5910 with the g_atexit() call.
5911 Required making 'app' static, renamed 'this_app'.
5912 Fixed broken use of bonobo_init, passing argv wrongly.
5914 2001-09-27 Bill Haneman <bill.haneman@sun.com>
5918 Created a new directory for
5919 accessibility-related utilities, primarily for
5920 testing and demo purposes, but with possible
5927 Onscreen magnifier utility that
5928 is implemented as a bonobo service.
5930 * util/mag_client.c:
5931 * util/mag_client.h:
5932 Client-side support (simple C bindings)
5933 for Magnification service
5935 * util/mag_control.c:
5936 Client program example for
5937 Magnification service
5939 * util/Accessibility_Magnifier.server.in:
5940 Bonobo-activation file for the
5941 Magnification service.
5944 * util/idl/Magnifier.idl:
5945 IDL defining the bonobo Magnification
5949 Modifications to use the bonobo-activated magnifier
5950 above, in place of trying to connect to an existing
5951 magnifier that uses socket-listening IPC.
5953 If env variable MAGNIFIER is set, a magnifier service
5954 will be started if one does not exist.
5956 2001-09-25 Bill Haneman <bill.haneman@sun.com>
5958 * at-bridge/bridge.c:
5959 applied patch from Marc to build and run
5960 against new glib and gtk+ (seemed like a change
5961 to bonobo_init signature was made ?)
5963 made festival-server support turned off by default.
5964 Added support for a simple magnifier (off by default)
5965 which will be added to a 'util' directory later.
5966 * at-bridge/Makefile.am:
5967 Changed "application.h" header from a 'source'
5968 to a 'dependency' of libat-bridge.
5970 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
5979 Added interface implementation c files to list of
5980 includes so they are included in libcspi.
5983 Changed prototype of AccessibleAction_doAction to return a
5985 Changed prototype of AccessibleTable_getCaption to
5986 return an Accessible.
5987 Changed prototype of AccessibleTable_getSelectedRows
5988 and AccessibleTable_getSelectedColumns to
5989 return a long (returns the number of selected rows
5990 or columns respectively).
5991 Changed name of AccessibleText_refRunAttributes to
5992 AccessibleText_getAttributes.
5993 Changed prototype of AccessibleText_getCharacterExtents to
5994 return a void rather than a boolean.
5995 Added support for a AccessibleCoordType parameter
5996 specifying what type of coordinates are desired.
5997 Added an AccessibleCordType parameter to
5998 AccessibleText_getPointAtOffset.
6000 * cspi/spi_accessible.c:
6001 Added code to return the outstanding interfaces from
6002 Accessible_queryInterface.
6004 * cspi/spi_action.c:
6006 Corrected call to getNActions to call the c binding
6009 * cspi/spi_editabletext.c:
6011 Changed name from setRunAttributes to setAttributes.
6013 * cspi/spi_hyperlink.c:
6015 Changed call to getNAnchors to correctly call the c
6016 binding for an attribute.
6018 * cspi/spi_hypertext.c:
6020 Changed getImageDescription to correctly call the
6021 binding for an attribute.
6023 * cspi/spi_selection.c:
6024 Changed getNSelectedChildren to correctly call the c
6025 binding for the attribute.
6026 Changed refSelectedChild to getSelectedChild.
6030 Changed getCaption to return an Accessible.
6031 Fixed calls which retrieve attributes.
6032 Changed refAt to getAccessibleAt.
6033 Changed getNSelectedRows and getNSelectedColumns to
6037 Changed getCharacterExtents and getPointAtOffset to accept an
6038 AccessibleCoordType.
6040 Changed calls which retrieve attributes.
6041 Changed refRunAttributes to getAttributes.
6046 * idl/Hyperlink.idl:
6047 Changed n_anchors attribute to nAnchors to keep naming
6048 convention consistent.
6051 Made Table inherit from Bonobo::Unknown.
6052 Added nSelectedColumns and nSelectedRows attributes.
6055 Made Value inherit from Bonobo::Unknown.
6057 * libspi/hyperlink.c:
6058 Change for nAnchors attributte name change.
6060 2001-09-12 Marc Mulcahy <marc.mulcahy@sun.com>
6068 Added interface implementation c files to list of
6069 includes so they are included in libcspi.
6072 Changed prototype of AccessibleAction_doAction to return a
6074 Changed prototype of AccessibleTable_getCaption to
6075 return an Accessible.
6076 Changed prototype of AccessibleTable_getSelectedRows
6077 and AccessibleTable_getSelectedColumns to
6078 return a long (returns the number of selected rows
6079 or columns respectively).
6080 Changed name of AccessibleText_refRunAttributes to
6081 AccessibleText_getAttributes.
6082 Changed prototype of AccessibleText_getCharacterExtents to
6083 return a void rather than a boolean.
6084 Added support for a AccessibleCoordType parameter
6085 specifying what type of coordinates are desired.
6086 Added an AccessibleCordType parameter to
6087 AccessibleText_getPointAtOffset.
6089 * cspi/spi_accessible.c:
6090 Added code to return the outstanding interfaces from
6091 Accessible_queryInterface.
6093 * cspi/spi_action.c:
6095 Corrected call to getNActions to call the c binding
6098 * cspi/spi_editabletext.c:
6100 Changed name from setRunAttributes to setAttributes.
6102 * cspi/spi_hyperlink.c:
6104 Changed call to getNAnchors to correctly call the c
6105 binding for an attribute.
6107 * cspi/spi_hypertext.c:
6109 Changed getImageDescription to correctly call the
6110 binding for an attribute.
6112 * cspi/spi_selection.c:
6113 Changed getNSelectedChildren to correctly call the c
6114 binding for the attribute.
6115 Changed refSelectedChild to getSelectedChild.
6119 Changed getCaption to return an Accessible.
6120 Fixed calls which retrieve attributes.
6121 Changed refAt to getAccessibleAt.
6122 Changed getNSelectedRows and getNSelectedColumns to
6126 Changed getCharacterExtents and getPointAtOffset to accept an
6127 AccessibleCoordType.
6129 Changed calls which retrieve attributes.
6130 Changed refRunAttributes to getAttributes.
6135 * idl/Hyperlink.idl:
6136 Changed n_anchors attribute to nAnchors to keep naming
6137 convention consistent.
6140 Made Table inherit from Bonobo::Unknown.
6141 Added nSelectedColumns and nSelectedRows attributes.
6144 Made Value inherit from Bonobo::Unknown.
6146 * libspi/hyperlink.c:
6147 Change for nAnchors attributte name change.
6150 2001-09-05 Marc Mulcahy <marc.mulcahy@sun.com>
6152 implementations-- made server implementations own AtkObject pointers
6153 rather than their respective AtkInterrface pointers to fix
6154 refcounting. AtkHyperlink is still broken.
6156 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6157 * cspi/spi_accessible.c:
6158 Added method Accessible_Role_getName(),
6159 and requisite string array (role_names).
6160 Added conversion string_from_corba_strin() call
6161 to Accessible_getName and _getDescription.
6162 * libspi/accessible.c:
6163 Added implementation for Accessible_getRole()
6165 Added festival support, used if environment variable
6168 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6170 * at-bridge/bridge.c:
6171 Now allocate Accessibility_Event using
6172 Accessibility_Event__alloc() instead of g_new0().
6173 * libspi/accessibleeventlistener.c:
6174 Initialize AccessibleEventListener->callbacks to NULL.
6175 Fixed accessible__event_listener_init() param, changed to
6176 "AccessibleEventListener *" type.
6177 Changed a bonobo_object_release_unref() call to
6178 Accessibility_Accessible_unref().
6179 * libspi/listener.c:
6180 Changed Bonobo_Unknown_unref to (equivalent)
6181 Accessibility_Accessible_unref.
6182 * libspi/registry.c:
6183 Changed bonobo_object_release_unref to
6184 Accessibility_Accessible_unref.
6186 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6189 spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
6190 spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
6191 spi-util.c spi-util.h
6192 Implementations for C bindings to remaining accessibility
6195 2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
6198 changed return value of Action from void to boolean to
6199 bring in line with ATK.
6202 Changed getText funcions to return "out" start and end offsets.
6203 Changed getAttributes to take and offset and return the start
6204 and end offset of the attribute run.
6205 Changed getOffsetAtPoint and getCharacterExtents to take an
6206 enum describing whether coordinates are window or screen.
6209 libspi/action.c libspi/action.h libspi/editabletext.c
6210 libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
6211 libspi/hypertext.c libspi/hypertext.h libspi/image.c
6212 libspi/image.h libspi/selection.c libspi/selection.h
6213 libspi/table.c libspi/table.h libspi/text.c libspi/text.h
6214 libspi/value.c libspi/value.h
6215 Added server implementations for outstanding ATK interfaces
6216 not yet implemented.
6218 2001-09-04 Bill Haneman <bill.haneman@sun.com>
6221 Added (missing) getName() method.
6222 Made nActions an attribute.
6223 * idl/EditableText.idl:
6224 Changed order of params in setAttributes.
6225 * idl/Hyperlink.idl:
6226 Removed getAnchor, added getURI.
6228 Changed attributes to methods, for efficiency
6229 (so that getting extents can be done in one call)
6230 * idl/Selection.idl:
6231 Changed nSelectedChildren to attribute, and re-indented.
6232 * idl/Table.idl: changed nrows, ncolumns, caption, summary
6234 * idl/Text.idl: reformatted to match our coding style.
6235 (temporarily?) removed getRowColumnAtOffset().
6236 Changed text selection API to support multi-select and
6237 non-contiguous selections, as in ATK.
6238 * idl/Value.idl: changed some methods to attributes.
6240 2001-08-24 Mark McLoughlin <mark@skynet.ie>
6242 * libspi/listener.c(impl_notify_event):
6243 BonoboUnkown_unref the source instead
6244 of bonobo_object_release_unref - the ORB
6245 handles the releasing.
6247 * configure.in: require ORBit-2.3.94 for
6250 2001-08-21 Bill Haneman <bill.haneman@sun.com>
6252 Tagged CVS repository 'EA_1_0'.
6253 * README.EARLY_ACCESS:
6254 Alphabetized acknowledgements list, and
6256 Listed some known dependencies of at-spi.
6258 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6260 * docs/at-spi-docs.sgml:
6261 * docs/at-spi-sections.txt:
6262 * docs/at-spi-overrides.txt: (Added zero-length file)
6263 Documentation improvements - gtk-doc should build
6264 docs for all implemented C bindings now.
6267 * cspi/spi.c: (New file)
6268 * cspi/spi_event.c: (New file)
6269 * cspi/spi_registry.c: (New file)
6270 * cspi/spi_accessible.c: (New file)
6271 * cspi/spi_application.c: (New file)
6272 * cspi/spi_component.c: (New file)
6273 Split spi_main.c into six parts, and included them from
6274 "spi.c". This is a bit of a hack, probably temporary,
6275 but required by gtk-doc, apparently.
6277 2001-08-20 Bill Haneman <bill.haneman@sun.com>
6280 * docs/at-spi-docs.sgml:
6281 * docs/at-spi-sections.txt:
6283 Initial checkins/modifications for gtk-doc generation.
6286 Added (missing) interface query methods to Accessible's C binding.
6288 Added GenericInterface type definition.
6290 Added query for AccessibleComponent interface to focus event handler.
6291 Added printout of bounding box for focussed component.
6292 * libspi/component.c:
6293 Added partial implementation for AccessibleComponent to C binding.
6294 * idl/Application.idl:
6295 * libspi/registry.c:
6296 * libspi/listener.c:
6297 * libspi/application.c:
6298 * libspi/application.h:
6299 Changed "ID" attribute type from string to long.
6301 2001-08-19 Bill Haneman <bill.haneman@sun.com>
6305 Made method naming consistent: methods taking object args
6306 start with uppercase, other methods (except those using
6307 acronyms) start with lowercase. Underscores delimit between
6308 object names and method names:
6309 SPI_init() - uppercase since it starts with an acronym.
6310 getDesktopCount () - lowercase start since no object param0.
6311 Accessible_getName() - uppercase object type name, studlyCaps method
6315 Added gtk-doc documentation for all currently implemented
6316 methods in the C bindings API.
6318 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6320 * Makefile.am : changed build order to build test last.
6323 Changed "createEventListener" to "CreateEventListener".
6324 * libspi/accessibleeventlistener.c :
6325 Bugfix for addition of callbacks.
6326 * test/Makefile.am :
6327 * test/simple-at.c :
6328 Added new test that uses the C bindings API.
6330 * libspi/listener.c :
6331 * libspi/registry.c :
6332 * libspi/accessibleeventlistener.c :
6333 * at-bridge/bridge.c :
6334 Renamed member "target" of Accessibility_Event to "source",
6335 which is more descriptive.
6338 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6342 * cspi/Makefile.am :
6343 Added makefile support for at-spi/cspi directory.
6346 * cspi/spi-listener.h : (NEW FILE)
6347 Added support for/use of spi-listener.h.
6349 C bindings now build successfully, with no warnings.
6350 * libspi/accessibleeventlistener.h : (NEW FILE)
6351 * libspi/accessibleeventlistener.c : (NEW FILE)
6352 * libspi/Makefile.am :
6353 Added new object type "AccessibleEventListener"
6354 which inherits from Listener, and allows attachment
6355 of in-process callbacks (so that a client with a listening
6356 object instance can add functionality to the local
6357 implementation, dynamically).
6359 2001-08-18 Bill Haneman <bill.haneman@sun.com>
6361 * libspi/accessible.c:
6362 Add implementation for get_index_in_parent().
6364 Added #include of "spi-roletypes.h", and
6365 added enumerated type AccessibleCoordType.
6366 Added definition for KeystrokeListener (function type).
6369 * cspi/spi-statetypes.h :
6370 * cspi/spi-roletypes.h :
6372 Added these headers, used by spi.h.
6374 Added code (NOTE: not yet built by make).
6376 2001-08-18 Mark McLoughlin <mark@skynet.ie>
6378 * libspi/Makefile.am: generate imodule
6379 at the same time as other idl compiler
6382 2001-08-17 Bill Haneman <bill.haneman@sun.com>
6383 * libspi/registry.c :
6384 * libspi/application.c :
6385 * idl/Application.idl :
6386 Made registration with toolkit an application method,
6387 which is required since each app has its own toolkit static
6388 environment. Thus the bridge must register for
6389 notification of toolkit events from each application in turn.
6390 Toolkit notifications are now successfully registered for, and
6391 sent to the listening at client.
6393 Changed toolkit event string to use hyphens rather than underscores.
6394 * libspi/listener.c :
6395 listner now gives more info in debug mode - it reports the
6396 name of the event received, as well as the name of the source.
6399 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6401 * libspi/registry.c :
6402 added more implementation for toolkit events.
6403 Fixed bug such that toolkit event registrations
6404 (via atk) use the whole event name string, not
6406 Removed a useless call to an ORBit_ method.
6407 * at-bridge/bridge.c :
6408 Removed unused local sbuf[] variable.
6410 We now register for Gtk:GtkWidget:button_press_event
6411 events as well as "focus:" events.
6413 Add some more API from Registry.idl that was missing,
6414 for keystroke listening, keystroke and mouse event
6415 synthesis, and enumeration of accessible desktops.
6417 2001-08-16 Michael Meeks <michael@ximian.com>
6419 * configure.in: use AM_GLIB_GNU_GETTEXT.
6421 * Makefile.am (SUBDIRS): kill intl.
6423 2001-08-15 Michael Meeks <michael@ximian.com>
6425 * registryd/Makefile.am: s/oaf/server/ relocate info file.
6427 * configure.in: upd.
6429 * configure.in: depend on a recent bonobo-activation that
6430 will find our server files ...
6432 2001-08-16 Bill Haneman <bill.haneman@sun.com>
6434 * libspi/accessible.c : accessible_new() :
6435 Now we add the Component interface via bonobo_object_add_interface,
6436 if the contained AtkObject implements AtkComponent.
6437 * libspi/accessible.h : now include "component.h"
6438 * libspi/component.h :
6439 * libspi/component.c : added files - implementation of
6440 bonobo wrapper object for Accessibility/Component
6441 * libspi/listener.c :
6442 Added test code to check for Accessibility/Component:1.0
6443 interface and report whether it is implemented by the
6445 * libspi/registry.c :
6446 Now we check for not only the hash of the whole event
6447 string before relaying the event, we also check the
6448 "minor" event string (without the detail string).
6449 This allows event listeners to be registered against
6450 all events of a certain major+minor type, or just
6451 against a specific major+minor+detail type.
6452 * libspi/accessible.c :
6453 Added implementations for Accessible:get_parent(),
6454 Accessible:getChildCount(), and Accessible:getChildAtIndex().
6455 * libspi/registry.c :
6456 * libspi/listener.c :
6457 Replaced calls to Accessibility_Accessible_ref() and
6458 Accessibility_Accessible_unref() with
6459 calls to bonobo_object_dup_ref() and
6460 bonobo_object_release_unref(), so that the CORBA object
6461 is dup-ed and released when relayed, as well as the bonobo object.
6463 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6465 * libspi/Makefile.am,
6466 registryd/Makefile.am,
6467 at-bridge/Makefile.am.
6468 test/Makefile.am, configure.in:
6469 reverse previous changes.
6471 * /idl/Image.idl: fix typo.
6473 * test/Makefile.am: put DEBUG_FLAGS
6476 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6478 * test/app.c: use argv[0] instead of
6481 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6483 * libspi/Makefile.am,
6484 registryd/Makefile.am,
6485 at-bridge/Makefile.am.
6486 test/Makefile.am, configure.in:
6487 cleanup, replace individual LIBS/CFLAGS with
6488 AT_COMMON_{LIBS|CFLAGS}.
6492 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6494 * configure.in, libspi/Makefile.am:
6495 Change IDL path checking for bonobo-activation
6498 2001-08-15 Bill Haneman <bill.haneman@sun.com>
6500 * registryd/registry.c : separated event listeners to use
6501 3 separate lists (focus, window, toolkit). Began testing
6502 event names against hashes before relaying events.
6503 * test/at.c : now register for events of type "focus:"
6504 * test/app.c : now generate events of type "focus:"
6505 * at-bridge/bridge.c : register with ATK for focus events,
6506 and we now relay those focus events to any "focus:" listeners.
6507 This now works with the bridge as a GTK_MODULE when running test/at.
6508 * libspi/registry.c :
6509 * libspi/listener.c :
6510 now we ref event sources before propagating, and unref on receipt.
6511 * libspi/registry.c :
6512 some changes to internal structs, to support event typestring hashes.
6513 * text/app.c : changed the way the appname is generated.
6514 * cspi : added directory that will hold the C bindings library for
6515 non-CORBA/bonobo-savvy clients.
6516 * cspi/spi.h : header file that contains the function prototypes for the C binding.
6517 * idl/Component.idl : added in parameter to indicate coord system for
6518 geometry-related calls.
6519 * idl/Hyperlink.idl : added readonly n_links attribute
6520 * idl/Image.idl : changed methods to attributes.
6522 2001-08-15 Mark McLoughlin <mark@skynet.ie>
6524 * at-bridge/Makefile.am: link against
6525 ../libspi/libspi.la instead of -lspi.
6527 * at-spi/test/app.c: include
6528 bonobo-activation.h. Use a default appname
6529 if one is not provided.
6531 2001-08-14 Bill Haneman <bill.haneman@sun.com>
6533 * idl/Registry.idl : temporarily changed register_Application
6534 to oneway, to work around issue with initial registration
6536 * idl/Application.idl : changed attribute "id" from readonly
6537 to read-write, since it needs to be assigned by Registry.
6538 * registryd/registryd.c : added call to set application id
6540 * registryd/registry.c : changed de-registration procedure to
6541 use CORBA_Object_hash() to find matching object ref in application
6542 lists and listener lists.
6543 * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
6544 began distinguishing between event types (work in progress).
6546 2001-08-13 Bill Haneman <bill.haneman@sun.com>
6549 * libspi/application.c:
6550 Added implementations for get/set id, get_toolkitName,
6552 * registryd/registryd.c :
6556 Converted from use of OAF to bonobo-activation.
6557 * libspi/desktop.h :
6558 * libspi/desktop.c :
6560 Removed references to atksimpleobject, since base atkobject
6561 implementation now provides functionality we need.
6562 * libspi/atksimpleobject.c :
6563 * libspi/atksimpleobject.h :
6568 * at-bridge/Makefile.am
6569 * at-bridge/bridge.c
6572 Added directory "bridge" and contents, and added dependencies
6573 in Makefile.am/configure.in.
6574 Initial checkin of "at-bridge".
6575 This code is a GTK_MODULE which automatically registers
6576 GTK+ apps with the accessibility registry, using an object
6577 reference to the root ATK object.
6579 2001-08-10 Mark McLoughlin <mark@skynet.ie>
6581 * po/Makefile.in.in: Remove. Again. If this
6582 doesn't get autogenerated - you need to update
6585 2001-08-07 Mark McLoughlin <mark@skynet.ie>
6587 * po/Makefile.in.in: Add. Again.
6589 2001-07-31 Bill Haneman <bill.haneman@sun.com>
6591 * libspi/accessible.c : added support for 'description' property.
6592 * libspi/accessible.c
6594 * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
6595 (since the two are now equivalent in libbonobo)
6603 * idl/Value.idl : changed these 'secondary' interfaces to inherit from
6604 Bonobo::Unknown as does Accessibility::Accessible.
6605 * idl/StreamableContent.idl : as above, and replaced internal InputStream
6606 interface with Bonobo::Stream, since it was redundant with it.
6607 (The Stream returned by a StreamableContext object is expected to
6608 implement only a subset of Bonobo::Stream)
6610 2001-07-28 Anders Carlsson <andersca@gnome.org>
6612 * libspi/accessible.c (accessible_object_finalize): Change
6613 g_free to g_object_unref since the AtkObject is a GObject.
6615 2001-07-30 Bill Haneman <bill.haneman@sun.com>
6617 * idl/Accessibility.idl: add new IDL files
6620 * idl/Action.idl: Definitions of actionable UI object
6621 * idl/Component.idl: Definitions of UI component geometry, etc.
6622 * idl/Hyperlink.idl: Defs of hyperlink behavior
6623 * idl/Image.idl: Def of accessible image
6624 * idl/Selection.idl: Definition of UI object with selectable children
6625 * idl/StreamableContent.idl: Definition of UI object with streamable backing data
6626 * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
6627 * idl/Text.idl: Interface defs for UI elements with complex textual content
6628 * idl/Value.idl: Definition of UI element that is a value controller or display
6630 2001-07-27 Michael Meeks <michael@ximian.com>
6632 * po/Makefile.in.in: remove autogenerated file from CVS.
6634 * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
6637 * idl/Registry.idl: include guard.
6639 * idl/Accessibility.idl: Add, and include all the other IDL
6642 * idl/*.idl: remove mass of pragmas etc.
6644 2001-07-26 Michael Meeks <michael@ximian.com>
6646 * registryd/Makefile.am (registryd_SOURCES): remove
6649 2001-07-27 Mark McLoughlin <mark@skynet.ie>
6651 * libspi/.cvsignore, registryd/.cvsignore,
6652 test/.cvsignore: updated.
6654 * po/Makefile.in.in: gettext update.
6656 2001-07-25 Bill Haneman <bill.haneman@sun.com>
6658 * initial CVS checkin
6660 2001-06-29 Michael Meeks <michael@ximian.com>
6662 * configure.in: add AM_CONFIG_HEADER to gen config.h